I don’t understand how an algorithm is able to encrypt plaintext with a public key yet not be able to decrypt it with the same key. Could someone explain this process in the simplest form possible, with mathematical terms defined?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Think of it like this. Some mathematical operations are invertible. Consider, for example, the operation “multiplication by a non-zero real number.” Fix a non-real number
sand consider the operationf(x)defined byx -> x * s. Then this operation is invertible. In fact, if you taket = 1 / sthen the operationg(x)defined byg(x) = x * thas the property thatg(f(x)) = xso thatfis invertible. Think ofxas the message,sas the public key,fas the encryption algorithm,tas the private key andgas the decryption algorithm. Of course, this is a terrible algorithm, but this is all there is to asymmetric encryption: find a parameterized invertible mathematical operation. The parameter provides the public key, and the “inverse parameter” provides the private key.Of course, with encryption we want it to be harder to find the inverse. In fact, the mathematics of RSA, the most well-known of the asymmetric key algorithms, are quite sophisticated. It relies on the fact that a certain mathematical problem is thought to be extremely hard.