aboutsummaryrefslogtreecommitdiffstats
path: root/docs/glossary.rst
diff options
context:
space:
mode:
authorEeshan Garg <jerryguitarist@gmail.com>2015-05-20 20:35:33 +0530
committerEeshan Garg <jerryguitarist@gmail.com>2015-05-20 20:35:33 +0530
commit9475900768962207477ed7d6e84e4099157a9d3f (patch)
tree1ec40291a8bc6b322e1f73ce8bc72acc49c43b20 /docs/glossary.rst
parentf2646557cbe6ee7dc8c338ad60b188a8ab1978ab (diff)
downloadcryptography-9475900768962207477ed7d6e84e4099157a9d3f.tar.gz
cryptography-9475900768962207477ed7d6e84e4099157a9d3f.tar.bz2
cryptography-9475900768962207477ed7d6e84e4099157a9d3f.zip
Docs for CTR and GCM should say that IV/nonce must be unique
Diffstat (limited to 'docs/glossary.rst')
-rw-r--r--docs/glossary.rst8
1 files changed, 8 insertions, 0 deletions
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
+ </random-numbers>`). Since a nonce does not have to be unpredictable,
+ it can also take a form of a counter.