From: "Pål Bergström" Date: 2009-05-03T18:21:41+09:00 Subject: Re: OpenSSL::Cipher dad decrypt Pål Bergström wrote: > I'm trying to implement a simple encrypt and decrypt function in Rails. > I've found this Ruby script using OpenSSL::Cipher::Cipher. > > When I try with the "wrong" KEY value, just to test it, I get an error > saying "bad decrypt". How can I avoid the error, or read the error so I > can stop the script? dad? hehe. :-) Should be "bad" of course. -- Posted via http://www.ruby-forum.com/.