Openssl use RSA private key to generate public key?

An RSA private key contains all the information needed to produce the public key. In most formats including openssl's the private key is represented as a PKCS#1 RSAPrivatekey object or some variant thereof. This format has a number of fields including the modulus and public exponent and thus is a strict superset of the information in an RSA public key.

– Raam Mar 9 at 13:00 @Raam: No, the strength of RSA is that it is infeasible to generate the private key from the public. Generate the public form the private is trivial. – GregS Mar 10 at 0:20.

Openssl genrsa -out mykey. Pem 1024 will actually produce a public - private key pair. The pair is stored in the generated mykey.

Pem file openssl rsa -in mykey. Pem -pubout > mykey. Pub will extract the public key and print that out.

Here is a link to a page that describes this better. EDIT: Check the examples section here To just output the public part of a private key: openssl rsa -in key. Pem -pubout -out pubkey.pem.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions