How to decrypt using Blowfish algorithm in php?
问题 I am supposed to write a PHP script to decrypt Blowfish encrypted data. The data I am receiving for decryption is encrypted by another application (I have no access to it). The data decrypts fine when am check it using a javascript script (blowfish.js). How can I decrypt the data in php? I have tried the mcrypt function in PHP. The code works fine if I encrypt and decrypt using the same code. If I decrypt an encrypted code (in another app) it gives junk. No idea about what mode to set. Can