Lines Matching refs:blake2s
68 :func:`sha512`, :func:`blake2b`, and :func:`blake2s`.
81 :func:`blake2b` and :func:`blake2s` were added.
294 single: blake2b, blake2s
323 .. function:: blake2s(data=b'', *, digest_size=32, key=b'', salt=b'', \
399 .. data:: blake2s.SALT_SIZE
405 .. data:: blake2s.PERSON_SIZE
411 .. data:: blake2s.MAX_KEY_SIZE
417 .. data:: blake2s.MAX_DIGEST_SIZE
430 :func:`blake2s`), then update it with the data by calling :meth:`update` on the
481 >>> from hashlib import blake2b, blake2s
486 >>> blake2s(digest_size=10).hexdigest()
488 >>> blake2s(digest_size=11).hexdigest()
544 >>> m = hmac.new(b'secret key', digestmod=hashlib.blake2s)
641 >>> from hashlib import blake2s
644 >>> enc_key = blake2s(key=orig_key, person=b'kEncrypt').digest()
645 >>> mac_key = blake2s(key=orig_key, person=b'kMAC').digest()