|
NX 1.0.3
niu2x's base c++ helper library
|
#include <digest.h>
类 | |
| struct | SHA256_Context |
Public 成员函数 | |
| SHA256 () | |
| void | reset () |
| Resets the object. | |
| void | update (const uint8_t *input, uint32_t length) |
| append more data to calculate md5 | |
| void | finish (uint8_t digest[32]) |
| get md5 | |
| nx::digest::SHA256::SHA256 | ( | ) |
| void nx::digest::SHA256::finish | ( | uint8_t | digest[32] | ) |
get md5
| digest | The buffer to accept md5 |
| void nx::digest::SHA256::reset | ( | ) |
Resets the object.
| void nx::digest::SHA256::update | ( | const uint8_t * | input, |
| uint32_t | length | ||
| ) |
append more data to calculate md5
| [in] | input | The input |
| [in] | length | The length |