Stream Cipher
A symmetric cipher that encrypts data one bit or byte at a time.
What it is
A symmetric algorithm that generates a pseudo-random keystream and combines it with the plaintext, usually by XOR, processing data continuously rather than in fixed blocks.
Why it matters
Stream ciphers suit real-time and variable-length traffic, but reusing a keystream (same key and nonce) is catastrophic. It lets an attacker XOR two ciphertexts and strip the encryption entirely.
In practice
ChaCha20 producing a keystream that is XORed with a video feed as it is transmitted.
What to look for
- Keystream or nonce reuse across messages.
- RC4 still enabled in TLS or file formats.
- XOR-looking ciphertext where two messages share a key.
Common mistake
Reusing a key and nonce pair. Two ciphertexts under the same keystream leak their XOR.
Practice it nearby
CyberKit has no tool for this term itself. These are the closest places to practice it.
- Decoder
Paste any opaque value. It names what it looks like and why, then decodes it: Base64 and other layers, number bases, hashes, JWTs, certificates, SIDs, User-Agents and MAC addresses.
- Decode Range
Name an opaque value before you read it: timestamps, encodings and hashes, all generated by the site's own converters.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
OpenSSL Open source
The command line toolkit for inspecting certificates, keys and TLS connections.
-
HashiCorp Vault Source available
Manages secrets and encryption keys, and can encrypt data as a service.
-
AWS Key Management Service Cloud service
AWS's managed service for creating and controlling encryption keys.
Read next
- Block Cipher: A symmetric cipher that encrypts data in fixed-size blocks.
- Nonce / Initialization Vector: A unique value that makes each encryption operation distinct.
- Cryptographically Secure PRNG: A random generator suitable for keys, nonces, and tokens.