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? .

On Sep 19, 2009, at 1:53 AM, mahesh s wrote:

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 B. http://agileconsultingllc.com
[email protected]

Thank u guys i will try for that

On Sun, Sep 20, 2009 at 10:41 PM, Robert W. <

Rob B. 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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs