blockcipher
A block cipher is a symmetric-key cipher that encrypts and decrypts fixed-size blocks of plaintext, typically 64 or 128 bits, using a secret key. The core algorithm provides a reversible transformation that, given the same key, can convert plaintext blocks into ciphertext blocks and back again. Block ciphers by themselves are not designed to handle messages of arbitrary length; they require a mode of operation to process longer data and to provide security properties beyond the block level.
Modes of operation define how to apply a block cipher to multiple blocks. Common modes include electronic
Block ciphers also need padding schemes when the message length is not a multiple of the block