开发者

OPENSSL and private key

Openssl is a great security library and I use it from time to time. When I generate RSA keys I have RSA object with private and public key data. OK. Fine. I'm happy with that. I can print private key to the printer. And here come's the question.

Is it possible to 开发者_开发百科create a valid RSA object only from the entered private key (RSA->n)? I made key check and it asks for a valid p and q. OK. I entered p and q. But encrypting is not working properly...any ideas?

TIA!


Did you make sure you entered p and q primes?


I worked it out. RSA object must have 5 valid variables: n, p, q, d and e. Thanks!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜