Provides the functions required to calculate a SHA-256 hash.
More...
#include <Imt.Base.Lib.Crypto/Sha256Hash.h>
Provides the functions required to calculate a SHA-256 hash.
◆ Sha256Hash()
imt::base::lib::crypto::Sha256Hash::Sha256Hash |
( |
| ) |
|
◆ ~Sha256Hash()
virtual imt::base::lib::crypto::Sha256Hash::~Sha256Hash |
( |
| ) |
|
|
virtual |
◆ finish()
void imt::base::lib::crypto::Sha256Hash::finish |
( |
uint8_t |
digest[DIGIST_SIZE] | ) |
|
Finishes the calculation of a new digest.
- Parameters
-
digest | The calculated digest |
◆ start()
void imt::base::lib::crypto::Sha256Hash::start |
( |
| ) |
|
Starts the calculation of a new digest.
◆ update()
void imt::base::lib::crypto::Sha256Hash::update |
( |
uint8_t const * |
pBuffer, |
|
|
uint32_t |
bufferSize |
|
) |
| |
Updates the internal digest with the given buffer.
- Parameters
-
pBuffer | The buffer to hash |
bufferSize | The size of the buffer |
◆ DIGIST_SIZE
uint32_t const imt::base::lib::crypto::Sha256Hash::DIGIST_SIZE = 32U |
|
static |
Defines the size of the SHA256 digest.
The documentation for this class was generated from the following file:
- C:/src/imt/Imt.Base-cpp/Imt.Base/Imt.Base.Lib.Crypto/Sha256Hash.h