Data encryption utilises mathematical algorithms to transform data into an indecipherable format. Encryption algorithms, such as AES or RSA, employ intricate mathematical processes to scramble the data into ciphertext. Only the correct decryption key can decode the ciphertext and restore it to its original state.