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? . --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Biedenharn http://agileconsultingllc.com Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. -- Posted via http://www.ruby-forum.com/.
Thank u guys i will try for that On Sun, Sep 20, 2009 at 10:41 PM, Robert Walker < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > 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. > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---