Encryption can be divided into three main types. These are discussed in more detail below.

1. Symmetric Encryption
The same key is used for both encryption and decryption. It is fast and efficient for bulk data protection.
2. Asymmetric Encryption
Two different keys are used: one public key and one private key. This helps with secure communication and key exchange.
3. Hashing
Hashing converts data into a fixed-length value and is mainly used for integrity verification, not for reversible decryption.