From 9475900768962207477ed7d6e84e4099157a9d3f Mon Sep 17 00:00:00 2001 From: Eeshan Garg Date: Wed, 20 May 2015 20:35:33 +0530 Subject: Docs for CTR and GCM should say that IV/nonce must be unique --- docs/glossary.rst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/glossary.rst') diff --git a/docs/glossary.rst b/docs/glossary.rst index dc6f3ebf..202fa2de 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -64,3 +64,11 @@ Glossary text This type corresponds to ``unicode`` on Python 2 and ``str`` on Python 3. This is equivalent to ``six.text_type``. + + nonce + A nonce is a **n**\ umber used **once**. Nonces are used in many + cryptographic protocols. Generally, a nonce does not have to be secret + or unpredictable, but it must be unique. A nonce is often a random + or pseudo-random number (see :doc:`Random number generation + `). Since a nonce does not have to be unpredictable, + it can also take a form of a counter. -- cgit v1.2.3