diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-05-20 13:21:30 -0700 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-05-20 13:21:30 -0700 |
commit | 2918db0b72f841ace8561bc0f85d8d4c190bc169 (patch) | |
tree | 765696acc84a04d5f1134bb34857d32311715f2d /docs/glossary.rst | |
parent | f2646557cbe6ee7dc8c338ad60b188a8ab1978ab (diff) | |
parent | 0bef7722f4d394a7fa67f724d9f13eca2eaf7d41 (diff) | |
download | cryptography-2918db0b72f841ace8561bc0f85d8d4c190bc169.tar.gz cryptography-2918db0b72f841ace8561bc0f85d8d4c190bc169.tar.bz2 cryptography-2918db0b72f841ace8561bc0f85d8d4c190bc169.zip |
Merge pull request #1985 from eeshangarg/documentation-1971
Docs for CTR and GCM should say that IV/nonce must be unique
Diffstat (limited to 'docs/glossary.rst')
-rw-r--r-- | docs/glossary.rst | 8 |
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. |