Testing a remix of the dren.ch Javascript lib, now compatible with Perl's Crypt::Blowfish. (NB: haven't tried it with block coding progs such as Crypt::CBC, but simple concat is fine.)

Common
Key: 12345678
Data: abcdefgh

Perl / Crypt::Blowfish
Encrypted: 3acbc7bcd0f698c6
Decrypted: abcdefgh

Perl / Crypt::Blowfish_PP
Encrypted: (sorry, Crypt::Blowfish_PP is not on the server)
Decrypted: (sorry, Crypt::Blowfish_PP is not on the server)

Javascript / dren.ch blowfish (original)


Javascript / dren.ch blowfish (remix)


See the Perl test source (zipped text)

Nab the Blowfish Remix Javascript

Use as normal:
var blowfish = new Blowfish("text for the key");
var enc = blowfish.encrypt("text to encrypt");
var dec = blowfish.decrypt(enc);

This run took 0.01 user seconds and 0 sys seconds.