Re: [openssl-users] RSA Public Encryption and Decryption

2015-12-29 Thread suguacl28
Yes understanding is correct. Just i want know public key decryption is possible or not. Now i got it. Thanks for your information. -- View this message in context: http://openssl.6102.n7.nabble.com/RSA-Public-Encryption-and-Decryption-tp61935p61939.html Sent from the OpenSSL - User mailing li

Re: [openssl-users] RSA Public Encryption and Decryption

2015-12-29 Thread Bill Reimer
If I understand you correctly, yes you must use the private key to decrypt the symmetric key which has been encrypted using RSA and the client's public key. There is no way (theoretically) to decrypt using only the public key. On Tue, Dec 29, 2015 at 7:58 AM, suguacl28 wrote: > Ya i know it. Ac

Re: [openssl-users] RSA Public Encryption and Decryption

2015-12-29 Thread suguacl28
Ya i know it. Actually i need to transfer the symmetric key to client. That symmetric key is encrypted using RSA public key of client which is transferred manually to server. Now i want to decrypt the package with same RSA public key of client. Now my doubt is, for decryption we must use private

Re: [openssl-users] RSA Public Encryption and Decryption

2015-12-29 Thread Bill Reimer
What you are describing is not even how RSA works. You would be describing symmetrical encryption, whereas RSA is asymmetrical. There is no inherent vulnerability with symmetrical encryption assuming you keep the key private. The idea behind RSA is that you can share your public key and only the

[openssl-users] RSA Public Encryption and Decryption

2015-12-29 Thread suguacl28
Hi, Lets assume i have a RSA public key file (xyz_file.pem) and cipher text that is encrypted using same RSA public key file (xyz_file.pem) now i want to decrypt the cipher text using same RSA public key file (xyz_file.pem). Ya i know its not a correct way of encryption and decryption concept. Ju