search for: ivarr

Displaying 1 result from an estimated 1 matches for "ivarr".

Did you mean: ivars
2008 Jun 06
1
Need help with Decryption using blowfish CBC
...an help me out here. I''ve burned almost a week trying to figure out how to decrypt an image file that has been encrypted using Blowfish CBC. I found some code on the net and have modified as follows: require ''openssl'' require ''digest/sha1'' ivArr = [0x0D, 0x0E, 0x0A, 0x0D, 0x0F, 0x0A, 0x0C, 0x0E ] iv = ivArr.pack("cccccccc") bf = OpenSSL::Cipher::Cipher.new("BF-CBC") key = Digest::SHA1.hexdigest("fOyBtMaN4u2T") bf.decrypt bf.key = key bf.iv = iv File.open("C:\\mapcryp...