strømningskoder
Strømningskoder, also known as stream ciphers, are a type of symmetric encryption algorithm. Unlike block ciphers which encrypt data in fixed-size blocks, stream ciphers encrypt individual bits or bytes of plaintext. They achieve this by generating a pseudorandom keystream, which is then combined with the plaintext, typically using the XOR operation, to produce the ciphertext. The same process is used for decryption, where the keystream is XORed with the ciphertext.
The security of a stream cipher relies heavily on the quality of its pseudorandom number generator (PRNG).
Stream ciphers are often faster than block ciphers and require less memory, making them suitable for applications