aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/mac/hmac.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/hazmat/primitives/mac/hmac.rst')
-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`.