💾 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
⬅️ Previous capture (2022-01-08)
-=-=-=-=-=-=-
_blake2b provides BLAKE2b for hashlib
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>
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>
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