Data encryption involves converting readable data into an unreadable format using an algorithm and a key. Only those with access to the decryption key can convert the data back to its original form. There are various encryption techniques, such as symmetric encryption and asymmetric encryption. Symmetric encryption uses the same key for both encryption and decryption, while asymmetric encryption uses a public key for encryption and a private key for decryption.