All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Stream cipher, keystream, nonce?

Also known as: stream cipher · keystream · nonce

Definition 27.6 University Computer Science — Year 3 · Chapter 27 — Symmetric Cryptography and Hash Functions

A stream cipher expands a short key into a long pseudo-random keystream and XORs it with the message, as a one-time pad with a computed key. A nonce (number used once) is an input that makes the keystream differ from message to message under the same key; a nonce must never be reused with the same key.

Read in context →