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!
精彩评论