diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/hashlib.rst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index 0f8a742..a725e07 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -52,6 +52,10 @@ spammish repetition'``:: >>> m.update(b" the spammish repetition") >>> m.digest() b'\xbbd\x9c\x83\xdd\x1e\xa5\xc9\xd9\xde\xc9\xa1\x8d\xf0\xff\xe9' + >>> m.digest_size + 16 + >>> m.block_size + 64 More condensed:: @@ -76,7 +80,11 @@ returned by the constructors: .. data:: digest_size - The size of the resulting digest in bytes. + The size of the resulting hash in bytes. + +.. data:: block_size + + The internal block size of the hash algorithm in bytes. A hash object has the following methods: |