Functions | |
ConstBufferPtr | computeSha256Digest (const uint8_t *data, size_t dataLength) |
Compute the sha-256 digest of data. More... | |
ConstBufferPtr | sha256 (const uint8_t *data, size_t dataLength) |
Compute the sha-256 digest of data. More... | |
Variables | |
static const size_t | SHA256_DIGEST_SIZE = 32 |
number of octets in a SHA256 digest More... | |
ConstBufferPtr ndn::crypto::computeSha256Digest | ( | const uint8_t * | data, |
size_t | dataLength | ||
) |
Compute the sha-256 digest of data.
data | Pointer to the input byte array. |
dataLength | The length of data. |
Definition at line 31 of file crypto.cpp.
|
inline |
Compute the sha-256 digest of data.
Definition at line 50 of file crypto.hpp.
|
static |
number of octets in a SHA256 digest
Definition at line 32 of file crypto.hpp.