Types of Cryptography
Feb 12, 2022
Symmetric Key Cryptography
- Simplest kind of encryption technique
- Involves only One-key to encrypt & decrypt information
- Also called secret/private key cryptography
- This is faster
- Less complex and less computation is required
- Used in bulk data
- Sharing the key is a problem here
- E.g.: AES. DES. 2DES, 3DES, Blowfish, etc.
Press enter or click to view image in full size![]()
Get ZOhaib Ali’s stories in your inbox
Join Medium for free to get updates from this writer.
Asymmetric Key Cryptography
- Uses 2 keys i.e. a pair of keys for encryption & decryption
- Public Key (known to everyone)
- Private Key (known to a particular person)
- Slower compared to symmetric
- Its more complex so, more computation power is required
- Used for secretly exchanging the secret key
- E.g.: Diffie-Hellman, RSA, DSA
Press enter or click to view image in full size![]()
Hash Function
- No usage of key
- Takes input as variable size and gives fixed size output know as Hash code or value
- Many O.S. uses hash functions to encrypt passwords
- Ensures data integrity
- E.g.: SHA1, SHA-2
Press enter or click to view image in full size![]()










