Sign up ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

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

share|improve this question
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. – Maarten Bodewes Oct 25 '14 at 11:48

1 Answer 1

up vote 12 down vote accepted

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."

share|improve this answer
Basically, this makes the PRNG the key, no? (Or rather, the PRNG's seed, following the Kerckhoff Principle.) – Jörg W Mittag Oct 25 '14 at 18:36
Sure. It basically makes the PRNG the cipher and its seed the key. – Christopher Creutzig Oct 25 '14 at 20:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.