Calculates the MD5 hashing function of an array. More...
#include <arcane/utils/MD5HashAlgorithm.h>
Public Member Functions | |
| String | name () const override |
| Name of the algorithm. | |
| Int32 | hashSize () const override |
| Size (in bytes) of the hash key. | |
| void | computeHash (ByteConstArrayView input, ByteArray &output) override |
| Calculates the hash value for the array input. | |
| void | computeHash64 (Span< const Byte > input, ByteArray &output) override |
| Calculates the hash value for the array input. | |
| void | computeHash64 (Span< const std::byte > input, ByteArray &output) override |
| Calculates the hash value for the array input. | |
| Public Member Functions inherited from Arcane::IHashAlgorithm | |
| 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. | |
Calculates the MD5 hashing function of an array.
For this algorithm, the key size is 16 bytes.
Definition at line 34 of file MD5HashAlgorithm.h.
| Arcane::MD5HashAlgorithm::MD5HashAlgorithm | ( | ) |
Definition at line 44 of file MD5HashAlgorithm.cc.
|
overridevirtual |
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 52 of file MD5HashAlgorithm.cc.
References Arcane::asBytes().
|
overridevirtual |
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 62 of file MD5HashAlgorithm.cc.
References Arcane::asBytes().
|
overridevirtual |
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 72 of file MD5HashAlgorithm.cc.
|
inlineoverridevirtual |
Size (in bytes) of the hash key.
Reimplemented from Arcane::IHashAlgorithm.
Definition at line 44 of file MD5HashAlgorithm.h.
|
inlineoverridevirtual |
Name of the algorithm.
Reimplemented from Arcane::IHashAlgorithm.
Definition at line 43 of file MD5HashAlgorithm.h.