Hi there, I've been searching for a solution to this problem for 3 days. I'm using the ruby openssl module to encrypt/decrypt small amounts of data with 2048 bit mod key.
On decrypt i get the an RSAError: padding check failed. I wrote more detais about it on stackoverflow: http://stackoverflow.com/q/5811167/721017 I borrowed the code from this blog: http://stuff-things.net/2007/06/11/encrypting-sensitive-data-with-ruby-on-rails/ If there's at least any resources anyone can point me too It would be greatly appreciated. Thanks in advance. -Diego