💾 Archived View for tris.fyi › pydoc › _sha3 captured on 2023-04-26 at 13:34:15. 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

_sha3

This module has no docstring.

Classes

sha3_224

sha3_224([data], *, usedforsecurity=True) -> SHA3 object

Return a new SHA3 hash object with a hashbit length of 28 bytes.
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.
block_size = <attribute 'block_size' of '_sha3.sha3_224' objects>
digest_size = <attribute 'digest_size' of '_sha3.sha3_224' objects>
name = <attribute 'name' of '_sha3.sha3_224' objects>

sha3_256

sha3_256([data], *, usedforsecurity=True) -> SHA3 object

Return a new SHA3 hash object with a hashbit length of 32 bytes.
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.
block_size = <attribute 'block_size' of '_sha3.sha3_256' objects>
digest_size = <attribute 'digest_size' of '_sha3.sha3_256' objects>
name = <attribute 'name' of '_sha3.sha3_256' objects>

sha3_384

sha3_384([data], *, usedforsecurity=True) -> SHA3 object

Return a new SHA3 hash object with a hashbit length of 48 bytes.
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.
block_size = <attribute 'block_size' of '_sha3.sha3_384' objects>
digest_size = <attribute 'digest_size' of '_sha3.sha3_384' objects>
name = <attribute 'name' of '_sha3.sha3_384' objects>

sha3_512

sha3_512([data], *, usedforsecurity=True) -> SHA3 object

Return a new SHA3 hash object with a hashbit length of 64 bytes.
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.
block_size = <attribute 'block_size' of '_sha3.sha3_512' objects>
digest_size = <attribute 'digest_size' of '_sha3.sha3_512' objects>
name = <attribute 'name' of '_sha3.sha3_512' objects>

shake_128

shake_128([data], *, usedforsecurity=True) -> SHAKE object

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

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

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

  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.
block_size = <attribute 'block_size' of '_sha3.shake_128' objects>
digest_size = <attribute 'digest_size' of '_sha3.shake_128' objects>
name = <attribute 'name' of '_sha3.shake_128' objects>

shake_256

shake_256([data], *, usedforsecurity=True) -> SHAKE object

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

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

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

  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.
block_size = <attribute 'block_size' of '_sha3.shake_256' objects>
digest_size = <attribute 'digest_size' of '_sha3.shake_256' objects>
name = <attribute 'name' of '_sha3.shake_256' objects>

Other members

implementation = 'generic 64-bit optimized implementation (lane complementing, all rounds unrolled)'
keccakopt = 64