What is the encryption method called when pseudo-random numbers are used instead of true random numbers?

  • 2
    $\begingroup$ I like this question. It's simple, but seeing the number of questions on SO that confuse a OTP and stream cipher, it can be a good reference to use within comments and answers. $\endgroup$ – Maarten Bodewes Oct 25 '14 at 11:48

Synchronous stream cipher, or just stream cipher.

In a synchronous stream cipher a stream of pseudo-random digits is generated independently of the plaintext and ciphertext messages, and then combined with the plaintext (to encrypt) or the ciphertext (to decrypt). In the most common form, binary digits are used (bits), and the keystream is combined with the plaintext using the exclusive or operation (XOR). This is termed a binary additive stream cipher."


  • 1
    $\begingroup$ Basically, this makes the PRNG the key, no? (Or rather, the PRNG's seed, following the Kerckhoff Principle.) $\endgroup$ – Jörg W Mittag Oct 25 '14 at 18:36
  • 4
    $\begingroup$ Sure. It basically makes the PRNG the cipher and its seed the key. $\endgroup$ – Christopher Creutzig Oct 25 '14 at 20:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy