💾 Archived View for tris.fyi › pydoc › _blake2 captured on 2023-04-26 at 13:33:23. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-01-08)

-=-=-=-=-=-=-

Back to module index

Go to module by name

_blake2

_blake2b provides BLAKE2b for hashlib

Classes

blake2b

Return a new BLAKE2b hash object.
copy(self, /)

  Return a copy of the hash object.
digest(self, /)

  Return the digest value as a bytes object.
hexdigest(self, /)

  Return the digest value as a string of hexadecimal digits.
update(self, data, /)

  Update this hash object's state with the provided bytes-like object.
MAX_DIGEST_SIZE = 64
MAX_KEY_SIZE = 64
PERSON_SIZE = 16
SALT_SIZE = 16
block_size = <attribute 'block_size' of '_blake2.blake2b' objects>
digest_size = <attribute 'digest_size' of '_blake2.blake2b' objects>
name = <attribute 'name' of '_blake2.blake2b' objects>

blake2s

Return a new BLAKE2s hash object.
copy(self, /)

  Return a copy of the hash object.
digest(self, /)

  Return the digest value as a bytes object.
hexdigest(self, /)

  Return the digest value as a string of hexadecimal digits.
update(self, data, /)

  Update this hash object's state with the provided bytes-like object.
MAX_DIGEST_SIZE = 32
MAX_KEY_SIZE = 32
PERSON_SIZE = 8
SALT_SIZE = 8
block_size = <attribute 'block_size' of '_blake2.blake2s' objects>
digest_size = <attribute 'digest_size' of '_blake2.blake2s' objects>
name = <attribute 'name' of '_blake2.blake2s' objects>

Other members

BLAKE2B_MAX_DIGEST_SIZE = 64
BLAKE2B_MAX_KEY_SIZE = 64
BLAKE2B_PERSON_SIZE = 16
BLAKE2B_SALT_SIZE = 16
BLAKE2S_MAX_DIGEST_SIZE = 32
BLAKE2S_MAX_KEY_SIZE = 32
BLAKE2S_PERSON_SIZE = 8
BLAKE2S_SALT_SIZE = 8