From 9b6fd8e8b6876cbc88d8cfbe452bb38af256f22d Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 19 Dec 2014 10:29:56 -0800 Subject: Anywhere we tell someone to randomly generate something, link the RNG docs. Fixes #1559 --- docs/hazmat/primitives/mac/hmac.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/hazmat/primitives/mac') 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 ` 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`. -- cgit v1.2.3