Displaying 1 result from an estimated 1 matches for "encrypt_block".
Did you mean:
decrypt_block
2007 Dec 05
0
Encryption using blowfish
...o the same thing using rails, i get a different
encrypted key.
Also, blow fish can take only 56 byte key as its input, so i
manipulated the key as how its done in php and packed it to a hex.
however am not sure how i can pass the iv
blowfish = Crypt::Blowfish.new(key)
encrypted_string = blowfish.encrypt_block(plain_text)
any inputs?
Thanks
Ramya
--~--~---------~--~----~------------~-------~--~----~
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.or...