Cryptography is an art and science of secret communications. Cryptography is a way of doing things used to provide security by encrypting messages to make them non-readable.
Cryptography is used to hide the meaning of information in any form. Cryptography can be applied to anything that can be applied to anything thatcan be digitally coded such as:
The unreadable form of the message or text is known as calculates/codes text.
Keys in cryptography:
Public key: Public keys are those keys that are made available to anyone who needs it and is used to encrypt the data.
Private key: A Private key is safe and is not available to anyone except the creator and is used to decrypt data encrypted by the public key.
Symmetric key cryptography: In symmetric key cryptography the same key is used for both encryption and decryption.
Asymmetric key cryptography: In asymmetric key cryptography a different key is used for encryption and decryption.