...............cryptography requires each user to have two keys: a public key used by the entire world for encrypting messages to be sent to that user and a private key.Which of the user needs for decrypting messages?
Cryptography requires each user to have two keys: a public key used by the entire world for encrypting messages to be sent to that user and a private key. Public key user needs for decrypting messages.
Public key encryption:-
Public key encryption uses a pair of mathematically-related keys. A message that is encrypted with the first key must be decrypted with the second key, and a message that is encrypted with the second key must be decrypted with the first key.
Each participant in a public key system has a pair of keys. One key is nominated as the private key and is kept secret. The other key is distributed to anyone who wants it; this key is the public key.