Home | Trees | Index | Help |
---|
Package tlslite :: Package utils :: Module hmac :: Class HMAC |
|
RFC2104 HMAC class.
This supports the API for Cryptographic Hash Functions (PEP 247).Method Summary | |
---|---|
Create a new HMAC object. | |
Return a separate copy of this hashing object. | |
Return the hash value of this hashing object. | |
Like digest(), but returns a string of hexadecimal digits instead. | |
Update this hashing object with the string msg. |
Method Details |
---|
__init__(self,
key,
msg=None,
digestmod=None)
|
copy(self)Return a separate copy of this hashing object. An update to this copy won't affect the original object. |
digest(self)Return the hash value of this hashing object. This returns a string containing 8-bit data. The object is not altered in any way by this function; you can continue updating the object after calling this function. |
hexdigest(self)Like digest(), but returns a string of hexadecimal digits instead. |
update(self, msg)Update this hashing object with the string msg. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Mon Feb 21 21:56:54 2005 | http://epydoc.sf.net |