rest25/library/hmac.rst => rest262/library/hmac.rst
12
13This module implements the HMAC algorithm as described by :rfc:`2104`.
14
15
16.. function:: new(key[, msg[, digestmod]])
17
18   Return a new hmac object.  If *msg* is present, the method call ``update(msg)``
19   is made. *digestmod* is the digest constructor or module for the HMAC object to
t20-   use. It defaults to  the ``hashlib.md5`` constructor.
t20+   use. It defaults to  the :func:`hashlib.md5` constructor.
21
22   .. note::
23
24      The md5 hash has known weaknesses but remains the default for backwards
25      compatibility. Choose a better one for your application.
26
27An HMAC object has the following methods:
28
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op