Ciphertext stealing

ID: ciphertext-stealing

Ciphertext stealing (CTS) is a technique used in cryptography when encrypting data, particularly when data size does not align with the block size of the encryption algorithm being used. In block cipher algorithms, data is processed in fixed-size blocks (e.g., 128 bits for AES). If the plaintext is not a multiple of the block size, padding is typically added to make it fit.

New to topics? Read the docs here!