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.ec...@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
>
_______________________________________________
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to