Context for calculating a hash incrementally. More...
#include <arcane/utils/IHashAlgorithm.h>
Public Member Functions | |
| virtual void | reset ()=0 |
| Resets the instance to calculate a new hash value. | |
| virtual void | updateHash (Span< const std::byte > input)=0 |
| Adds the array input to the calculated hash. | |
| virtual void | computeHashValue (HashAlgorithmValue &hash_value)=0 |
| Calculates the hash value and returns it in hash_value. | |
Context for calculating a hash incrementally.
The same context can be used multiple times by calling reset() to reset the instance.
Definition at line 84 of file IHashAlgorithm.h.
|
pure virtual |
Calculates the hash value and returns it in hash_value.
Implemented in Arcane::SHA1Algorithm::SHA1.
|
pure virtual |
Resets the instance to calculate a new hash value.
Implemented in Arcane::SHA1Algorithm::SHA1.
|
pure virtual |
Adds the array input to the calculated hash.
Implemented in Arcane::SHA1Algorithm::SHA1.