Module SHA224
SHA-224 cryptographic hash algorithm.
SHA-224 belongs to the SHA-2 family of cryptographic hashes.
It produces the 224 bit digest of a message.
>>> from Cryptodome.Hash import SHA224
>>>
>>> h = SHA224.new()
>>> h.update(b'Hello')
>>> print h.hexdigest()
SHA stands for Secure Hash Algorithm.
|
new(data=None)
Return a fresh instance of the hash object. |
|
|
|
digest_size = 28
The size of the resulting hash in bytes.
|
|
block_size = 64
The internal block size of the hash algorithm in bytes.
|
|
__package__ = ' Cryptodome.Hash '
|
Return a fresh instance of the hash object.
- Parameters:
data (byte string) - The very first chunk of the message to hash.
It is equivalent to an early call to SHA224Hash.update().
Optional.
- Returns:
- A SHA224Hash object
|