I have had a requirement to encrypt in Perl and decrypt in Php. As a result, I’ve been looking at ways to get this to work. There are a number of people who have managed to get this working using the Crypt::Blowfish module in perl and mcrypt_cbc function in Php.

That’s great unless you are running Perl on windows – as you don’t have direct access to Crypt::Blowfish because Canadian law prohibits ActiveState from distributing it as a PPM.Thankfully you can still install it manually from the command line directly from CPAN.

Simply open a command prompt and type:

ppm install 

http://cpan.uwinnipeg.ca/PPMPackages/10xx/Crypt-Blowfish.ppd

And you are good to go!