[openssl-users] RSA Public Encryption and Decryption

Bill Reimer breimer273 at gmail.com
Tue Dec 29 13:00:05 UTC 2015


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 private key can decrypt that text, using a different key for
encryption and decryption is asymmetrical. For further reading refer to:
https://en.wikipedia.org/wiki/Symmetric-key_algorithm and
https://en.wikipedia.org/wiki/Public-key_cryptography

On Tue, Dec 29, 2015 at 4:27 AM, suguacl28 <sugu.ece28 at gmail.com> wrote:

> 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.
> Just i need to know the security vulnerability in this concept!!!
>
>
>
> --
> View this message in context:
> http://openssl.6102.n7.nabble.com/RSA-Public-Encryption-and-Decryption-tp61935.html
> Sent from the OpenSSL - User mailing list archive at Nabble.com.
> _______________________________________________
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20151229/6c319900/attachment.html>


More information about the openssl-users mailing list