keystream

Uses your system voice; voice and rate in settings.

Q1509893Snapshot

≈ 2 min read

Names in other languages

  • DeutschSchlüsselstromgenerator
  • Українськапотік ключа
  • Englishkeystream
  • FrançaisKeystream
  • ItalianoKeystream
  • NederlandsKeystream
  • 日本語鍵ストリーム
  • 中文密钥流

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

In cryptography, a keystream is a stream of random or pseudorandom characters that are combined with a plaintext message to produce an encrypted message (the ciphertext). The "characters" in the keystream can be bits, bytes, numbers or actual characters like A-Z depending on the usage case. Usually each character in the keystream is either added, subtracted or XORed with a character in the plaintext to produce the ciphertext, using modular arithmetic. Keystreams are used in the one-time pad cipher and in most stream ciphers. Block ciphers can also be used to produce keystreams. For instance, CTR mode is a block mode that makes a block cipher produce a keystream and thus turns the block cipher into a stream cipher.

In cryptography, a keystream is a stream of random or pseudorandom characters that are combined with a plaintext message to produce an encrypted message (the ciphertext). The "characters" in the keystream can be bits, bytes, numbers or actual characters like A-Z depending on the usage case. Usually each character in the keystream is either added, subtracted or XORed with a character in the plaintext to produce the ciphertext, using modular arithmetic. Keystreams are used in the one-time pad cipher and in most stream ciphers. Block ciphers can also be used to produce keystreams. For instance, CTR mode is a block mode that makes a block cipher produce a keystream and thus turns the block cipher into a stream cipher.

Text derived from https://en.wikipedia.org/w/index.php?oldid=1136438276 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot keystream-176076-819af14bf0828f42 · hash 819af14bf0828f421341f4f64f7663522dd11a60714e70668ff9f299558aace0 · captured 1675064748.0 · version history

Cite this page as: encyclopegia.org, “keystream”, snapshot keystream-176076-819af14bf0828f42. https://encyclopegia.org/a/keystream