Rodney Carvalho wrote: > I know how to create a new keypair using: > > OpenSSL::PKey::RSA.new(1024) > > But, I'm looking for how to create a public key when I have the modulus > and exponent value of that key. Any help would be appreciated. > > Thanks, > > rodney OK, after many hours of playing I've answered my own question and posted it on my blog. Here you go: http://blog.internautdesign.com/2007/11/2/ruby-openssl-rsa-public-key-from-modulus-and-exponent -Rodney Carvalho www.internautdesign.com -- Posted via http://www.ruby-forum.com/.