<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>I have a stream of data called EncryptedData (with randomiv header specification).<br>I want to decrypt  using:<br>crypto:block_decrypt(blowfish_cbc, hexstr2bin(Key), IV, Rest).<br><br></div><div>where:<br></div><div><br>EncryptedData is formatted as follows:<br></div><<IvSpec:8/binary, IV:8/binary, Rest/binary>><br><br></div>IvSpec == <<"RandomIV">><br><br></div>However the decryption does not works and garbage is generated<br></div><div>(the function  ) .<br></div><div><br></div>What could be done given the fact that IV is an 8-byte quantity<br></div>the Key is formatted according to crypto test suites and is 16 bytes long <br><br></div>Am I missing something?<br><br></div>Thanks,<br><br></div>Bogdan<br></div>