search for: encrypt_str

Displaying 1 result from an estimated 1 matches for "encrypt_str".

2010 Apr 14
0
query string encryption
Hello, I''m using crypt/rijndael to encrypt data being sent through an HTTP POST. Before I send my encrypted string this is what I do: rijndael = Crypt::Rijndael.new(key) crypt = rijndael.encrypt_string("test") escaped_crypt = CGI::escape(crypt) Then I send the encrypted data to my web service. On my web service, I do this: rijndael.decrypt_string(CGI::unescape(params[blah])) If I do that, it doesn''t decrypt my string, it stays encrypted, I made sure to have the same key o...