Encryption plays a pivotal role in data security by converting data into a coded format that is unreadable without the appropriate decryption key. There are two primary types of encryption used:
Symmetric Encryption: The same key is used for both encryption and decryption. Asymmetric Encryption: Uses a pair of keys – a public key for encryption and a private key for decryption.