RSA support in Ruby?

R

Randy Lawrence

Hi,

We're using Ruby 1.8.1 and would like to use RSA to encrypt data using a
public key from our mod_ruby scripts.

But it seems that openssl.rb included with Ruby does not support RSA yet.

We need this feature in our production environment by next week :(

What are my options (other than using Perl)?
 
G

gabriele renzi

Hi,

We're using Ruby 1.8.1 and would like to use RSA to encrypt data using a
public key from our mod_ruby scripts.

But it seems that openssl.rb included with Ruby does not support RSA yet.


Are you sure ?
the ruby-doc.org RDoc pages shows that a class cRSA exist, isn't that
what you need ?
 
R

Randy Lawrence

gabriele said:
il Wed, 26 May 2004 17:53:20 GMT, Randy Lawrence <[email protected]>
ha scritto::





Are you sure ?
the ruby-doc.org RDoc pages shows that a class cRSA exist, isn't that
what you need ?

Thanks! I checked it out after seeing your response.

Unfortunately, the example code snippet doesn't work for cRSA and
there's virtually no documentation. I'm new at Ruby so maybe I'm doing
something wrong.

If you know of a working example, please let me know.

Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,146
Messages
2,570,832
Members
47,374
Latest member
anuragag27

Latest Threads

Top