<div dir="ltr">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: <a href="https://en.wikipedia.org/wiki/Symmetric-key_algorithm">https://en.wikipedia.org/wiki/Symmetric-key_algorithm</a> and <a href="https://en.wikipedia.org/wiki/Public-key_cryptography">https://en.wikipedia.org/wiki/Public-key_cryptography</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 29, 2015 at 4:27 AM, suguacl28 <span dir="ltr"><<a href="mailto:sugu.ece28@gmail.com" target="_blank">sugu.ece28@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Hi,<br>
<br>
Lets assume i have a RSA public key file (xyz_file.pem) and cipher text that<br>
is encrypted using same RSA public key file (xyz_file.pem) now i want to<br>
decrypt the cipher text using same RSA public key file (xyz_file.pem).<br>
<br>
Ya i know its not a correct way of encryption and decryption concept.<br>
Just i need to know the security vulnerability in this concept!!!<br>
<br>
<br>
<br>
--<br>
</span>View this message in context: <a href="http://openssl.6102.n7.nabble.com/RSA-Public-Encryption-and-Decryption-tp61935.html" rel="noreferrer" target="_blank">http://openssl.6102.n7.nabble.com/RSA-Public-Encryption-and-Decryption-tp61935.html</a><br>
Sent from the OpenSSL - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-users</a><br>
</blockquote></div><br></div>