aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/mac
diff options
context:
space:
mode:
authorlvh <laurens.vanhoutven@rackspace.com>2014-12-19 12:01:37 -0800
committerlvh <laurens.vanhoutven@rackspace.com>2014-12-19 12:01:37 -0800
commit4fe8fe16485ba370d8a4a729b636b4f7616d3845 (patch)
tree8f112e742be57ff7c1bd38373a33c7f372eacc88 /docs/hazmat/primitives/mac
parent1d50e421d6fd1a42a92301b950f4a7a25546e863 (diff)
parent9b6fd8e8b6876cbc88d8cfbe452bb38af256f22d (diff)
downloadcryptography-4fe8fe16485ba370d8a4a729b636b4f7616d3845.tar.gz
cryptography-4fe8fe16485ba370d8a4a729b636b4f7616d3845.tar.bz2
cryptography-4fe8fe16485ba370d8a4a729b636b4f7616d3845.zip
Merge pull request #1561 from alex/link-random
Anywhere we tell someone to randomly generate something, link the RNG docs. Fixes #1559
Diffstat (limited to 'docs/hazmat/primitives/mac')
-rw-r--r--docs/hazmat/primitives/mac/hmac.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/mac/hmac.rst b/docs/hazmat/primitives/mac/hmac.rst
index 9ce49c8d..ce566c5c 100644
--- a/docs/hazmat/primitives/mac/hmac.rst
+++ b/docs/hazmat/primitives/mac/hmac.rst
@@ -19,9 +19,9 @@ of a message.
HMAC objects take a ``key`` and a
:class:`~cryptography.hazmat.primitives.interfaces.HashAlgorithm` provider.
- The ``key`` should be randomly generated bytes and is recommended to be
- equal in length to the ``digest_size`` of the hash function chosen.
- You must keep the ``key`` secret.
+ The ``key`` should be :doc:`randomly generated bytes </random-numbers>` and
+ is recommended to be equal in length to the ``digest_size`` of the hash
+ function chosen. You must keep the ``key`` secret.
This is an implementation of :rfc:`2104`.