Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Creating an RSA public key from a modulus and exponent
rodney
11/2/2007 1:21:00 AM
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
--
Posted via
http://www.ruby-...
.
3 Answers
rodney
11/2/2007 7:01:00 PM
0
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-an...
-Rodney Carvalho
www.internautdesign.com
--
Posted via
http://www.ruby-...
.
Shandy Nantz
12/11/2007 9:23:00 PM
0
Rodney Carvalho wrote:
>
>
> 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-an...
>
> -Rodney Carvalho
> www.internautdesign.com
How did you get them into that format though? I have been trying the
smae thing for the better part of a week and can't get them into the
correct format.
-S
--
Posted via
http://www.ruby-...
.
rodney
12/11/2007 11:53:00 PM
0
response posted on blog.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Creating an RSA public key from a modulus and exponent
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password