Base class for SHA-3 algorithms. More...
#include <arcane/utils/SHA3HashAlgorithm.h>
Public Member Functions | |
| void | computeHash (ByteConstArrayView input, ByteArray &output) final |
| Calculates the hash value for the array input. | |
| void | computeHash64 (Span< const Byte > input, ByteArray &output) final |
| Calculates the hash value for the array input. | |
| void | computeHash64 (Span< const std::byte > input, ByteArray &output) final |
| Calculates the hash value for the array input. | |
| Public Member Functions inherited from Arcane::IHashAlgorithm | |
| virtual String | name () const |
| Name of the algorithm. | |
| virtual Int32 | hashSize () const |
| Size (in bytes) of the hash key. | |
| virtual void | computeHash (Span< const std::byte > input, HashAlgorithmValue &value) |
| Calculates the hash value for the array input. | |
| virtual Ref< IHashAlgorithmContext > | createContext () |
| Creates a context to calculate the hash value incrementally. | |
| virtual bool | hasCreateContext () const |
| Indicates if the implementation supports incremental hashing. | |
Protected Member Functions | |
| virtual void | _initialize (SHA3Algorithm::SHA3 &)=0 |
Base class for SHA-3 algorithms.
Definition at line 37 of file SHA3HashAlgorithm.h.
|
finalvirtual |
Calculates the hash value for the array input.
The hash value is added to output. The length depends on the algorithm used.
Implements Arcane::IHashAlgorithm.
Definition at line 494 of file SHA3HashAlgorithm.cc.
References Arcane::asBytes().
|
finalvirtual |
Calculates the hash value for the array input.
The hash value is added to output. The added length is equal to hashSize().
Reimplemented from Arcane::IHashAlgorithm.
Definition at line 504 of file SHA3HashAlgorithm.cc.
References Arcane::asBytes().
|
finalvirtual |
Calculates the hash value for the array input.
The hash value is added to output. The added length is equal to hashSize().
Reimplemented from Arcane::IHashAlgorithm.
Definition at line 514 of file SHA3HashAlgorithm.cc.