Blowfish crypt in rails app

HI

Im creating a rails app using blowfish  encryption and decryption, in my app i have included a gem crypt for doing a encryption and im trying to decrypt the result using blowfish.js

is that possible to do that encryption via ruby gem and decryption via blowfish.js, i download the blowfish js from the url:http://dren.ch/js/blowfish.js

Is it possible to implement encryption via ruby decryption via js? .

Yes. (Assuming that the algorithms are correctly implemented, of course.)

-Rob

Rob Biedenharn http://agileconsultingllc.com

Rob@AgileConsultingLLC.com

Rob Biedenharn wrote:

Yes. (Assuming that the algorithms are correctly implemented, of
course.)

You will also have to make sure you're using the exact same algorithm on
both sides.

For example OpenSSL on Mac OS X 10.6 contains the following blowfish
ciphers:
bf
bf-cbc
bf-cfb
bf-ecb
bf-ofb

You will need to determine which of these your blowfish.js file is using
and match that in your Ruby Code.

Thank u guys i will try for that