Lably
Skip to content

Symmetric-key algorithm

Cryptographic algorithm

  • 4 min read
  • 9 chapters

Related on Lably

Through Algorithm, Symmetry and Frequency (statistics)

Types

Symmetric-key encryption can use either stream ciphers or block ciphers.

Stream ciphers encrypt the digits (typically bytes), or letters (in substitution ciphers) of a message one at a time. An example is ChaCha20. Substitution ciphers are well-known ciphers, but can be easily decrypted using a frequency table.

Block ciphers take a number of bits and encrypt them in a single unit, padding the plaintext to achieve a multiple of the block size. The Advanced Encryption Standard (AES) algorithm, approved by NIST in December 2001, uses 128-bit blocks.

Sign in to keep reading

8 more chapters are free with a Lably account.

More in Computing and communication