From: "Pål Bergström" Date: 2009-05-03T05:45:43+09:00 Subject: OpenSSL::Cipher dad decrypt 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? -- Posted via http://www.ruby-forum.com/.