PyDocs

Nav

Cryptographic Services

digest

hmac

function · Added in 3.7 (source)
  • digest(key, msg, digest)
Fast inline implementation of HMAC.

key: bytes or buffer, The key for the keyed hash object.
msg: bytes or buffer, Input message.
digest: A hash name suitable for hashlib.new() for best performance. *OR*
        A hashlib constructor returning a new hash object. *OR*
        A module supporting PEP 247.
0 Examples
No examples for hmac/digest.
See Also
No see-alsos for hmac/digest
0 Notes
No notes for digest