This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Juuso Lehtivarjo, christian.heimes, docs@python, serhiy.storchaka, vstinner, xtreak
Date 2018-07-19.11:09:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1531998573.53.0.56676864532.issue33729@psf.upfronthosting.co.za>
In-reply-to
Content
hashlib.blake2b() and some other constructors accept the first chunk of data as the "string" keyword argument.

>>> hashlib.blake2b(string=b'')
<_blake2.blake2b object at 0x7f2847a9c430>
>>> hashlib.blake2s(string=b'')
<_blake2.blake2s object at 0x7f28468f6290>
>>> hashlib.sha3_224(string=b'')
<_sha3.sha3_224 object at 0x7f28468f6608>
>>> hashlib.sha3_256(string=b'')
<_sha3.sha3_256 object at 0x7f28468f6290>
>>> hashlib.sha3_384(string=b'')
<_sha3.sha3_384 object at 0x7f28468f6608>
>>> hashlib.sha3_512(string=b'')
<_sha3.sha3_512 object at 0x7f28468f6290>
>>> hashlib.shake_128(string=b'')
<_sha3.shake_128 object at 0x7f28468f6608>
>>> hashlib.shake_256(string=b'')
<_sha3.shake_256 object at 0x7f28468f6290>
History
Date User Action Args
2018-07-19 11:09:33serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, christian.heimes, docs@python, Juuso Lehtivarjo, xtreak
2018-07-19 11:09:33serhiy.storchakasetmessageid: <1531998573.53.0.56676864532.issue33729@psf.upfronthosting.co.za>
2018-07-19 11:09:33serhiy.storchakalinkissue33729 messages
2018-07-19 11:09:33serhiy.storchakacreate