Cryptography

Cryptography is thr technique which is use to convert plain text to cipher text or vice versa to achieve confidentiality.

Type of Cryptography

Symmetric Key

If the secret key is known to any intruder, he could decrypt the message. This cryptography technique is called as symmetric key cryptography. It is because both sender and receiver use the same key on their sides. This cryptography technique is called as secret key cryptography. If only one key is used for both encrypting and decrypting, It is called as symmetric Key

Asymmetric Key

Asymmetric cryptography, also known as public-key cryptography, is a process that uses a pair of related keys -- one public key and one private key -- to encrypt and decrypt a message and protect it from unauthorized access or use. A public key is a cryptographic key that can be used by any person to encrypt a message so that it can only be decrypted by the intended recipient with their private key. A private key -- also known as a secret key -- is shared only with key's initiator. If two different key is used for both encrypting and decrypting, It is called as symmetric Key