#include <sha256.h>
|
| void | init () |
| |
| void | initHmac (const uint8_t *key, int keyLength) |
| |
| void | write (const uint8_t) |
| |
| void | write (const uint8_t in[], int inLength) |
| |
| void | write (const char in[], int inLength) |
| |
| uint8_t * | result () |
| |
| uint8_t * | resultHmac () |
| |
| void | result (uint8_t out[], int outLength) |
| |
| void | result (char out[], int outLength) |
| |
| void | reset () |
| |
|
| static void | hash (const char input[], int inputLength, char output[], int outputLength) |
| |
| static void | hash (const uint8_t input[], int inputLength, uint8_t output[], int outputLength) |
| |
◆ hash() [1/2]
| void Sha256::hash |
( |
const char |
input[], |
|
|
int |
inputLength, |
|
|
char |
output[], |
|
|
int |
outputLength |
|
) |
| |
|
static |
◆ hash() [2/2]
| void Sha256::hash |
( |
const uint8_t |
input[], |
|
|
int |
inputLength, |
|
|
uint8_t |
output[], |
|
|
int |
outputLength |
|
) |
| |
|
static |
◆ init()
| void Sha256::init |
( |
void |
| ) |
|
◆ initHmac()
| void Sha256::initHmac |
( |
const uint8_t * |
key, |
|
|
int |
keyLength |
|
) |
| |
◆ reset()
◆ result() [1/3]
| uint8_t * Sha256::result |
( |
| ) |
|
◆ result() [2/3]
| void Sha256::result |
( |
char |
out[], |
|
|
int |
outLength |
|
) |
| |
|
inline |
◆ result() [3/3]
| void Sha256::result |
( |
uint8_t |
out[], |
|
|
int |
outLength |
|
) |
| |
If outlength > 32 output is in hex. If outlength <= 32 output is in raw bytes.
◆ resultHmac()
| uint8_t * Sha256::resultHmac |
( |
| ) |
|
◆ write() [1/3]
| void Sha256::write |
( |
const char |
in[], |
|
|
int |
inLength |
|
) |
| |
|
inline |
◆ write() [2/3]
| void Sha256::write |
( |
const uint8_t |
in[], |
|
|
int |
inLength |
|
) |
| |
◆ write() [3/3]
| void Sha256::write |
( |
const uint8_t |
data | ) |
|
The documentation for this class was generated from the following files: