What is Cryptography?
Cryptography is the method of encrypting and decrypting, information through complex mathematics so that only intended person/device can read the information.
Cryptography is achieved by encrypting the piece of information using a mathematical algorithm, known as cipher. The encrypted data is also called as ciphertext.
This encrypted information is then send to intended recipient, which then decrypts the information to data to convert it back to meaningful information.
Information will still be secured if this ciphertext (encrypted data) is received by any one who is not supposed to get this information, as it is encrypted and that person will not be able to make any sense out of this data.
What are inputs required during encryption and decryption?
To achieve encryption and decryption, there are three input variables:
- Information to be encrypted or decrypted
- Algorithm (ex: AES)
What are two broad-levels of cryptography?
Cryptography is of two types:
- Symmetric Cryptography
- Asymmetric Cryptography
What is symmetric-key cryptography?
When the same key is used for encryption and decryption, it is called symmetric-key cryptography.
What is Asymmetric Cryptography?
When different keys are used for encryption and decryption, it is called Asymmetric Cryptography.
Example: Public-Key cryptography.