I am trying to encrypt a string using a public key on Android (phone gap in 
particular) and decrypt it in Rails.

I tried a Javascript RSA library which worked, except that it occasionally 
failed to encrypt correctly.

Trying to use BouncyCastle through Java, but can’t work out how to do the 
encryption so Rails can read it. It seems that the OpenSSL wrapper in Ruby only 
gives you one way of using RSA PKE and I can’t make my Java options match up.

Does anyone have any wisdom for this situation?

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to