Module SHA3_384
SHA-3/384 cryptographic hash algorithm.
SHA-3/384 belongs to the SHA-3 family of cryptographic hashes, as specified
in FIPS 202.
The hash function produces the 384 bit digest of a message.
>>> from Cryptodome.Hash import SHA3_384
>>>
>>> h_obj = SHA3_384.new()
>>> h_obj.update(b'Some data')
>>> print h_obj.hexdigest()
|
new(*args,
**kwargs)
Return a fresh instance of the hash object. |
|
|
|
digest_size = 48
The size of the resulting hash in bytes.
|
|
__package__ = ' Cryptodome.Hash '
|
Return a fresh instance of the hash object.
- Parameters:
data (byte string) - Optional. The very first chunk of the message to hash.
It is equivalent to an early call to update().
update_after_digest (boolean) - Optional. By default, a hash object cannot be updated anymore after
the digest is computed. When this flag is True, such check
is no longer enforced.
- Returns:
- A SHA3_384_Hash object
|