DDraceNetwork Docs
|
Functions | |
static void | digest_str (const unsigned char *digest, size_t digest_len, char *str, size_t max_len) |
SHA256_DIGEST | sha256 (const void *message, size_t message_len) |
void | sha256_str (SHA256_DIGEST digest, char *str, size_t max_len) |
int | sha256_from_str (SHA256_DIGEST *out, const char *str) |
int | sha256_comp (SHA256_DIGEST digest1, SHA256_DIGEST digest2) |
MD5_DIGEST | md5 (const void *message, size_t message_len) |
void | md5_str (MD5_DIGEST digest, char *str, size_t max_len) |
int | md5_from_str (MD5_DIGEST *out, const char *str) |
int | md5_comp (MD5_DIGEST digest1, MD5_DIGEST digest2) |
Variables | |
const SHA256_DIGEST | SHA256_ZEROED = {{0}} |
|
static |
MD5_DIGEST md5 | ( | const void * | message, |
size_t | message_len | ||
) |
int md5_comp | ( | MD5_DIGEST | digest1, |
MD5_DIGEST | digest2 | ||
) |
int md5_from_str | ( | MD5_DIGEST * | out, |
const char * | str | ||
) |
void md5_str | ( | MD5_DIGEST | digest, |
char * | str, | ||
size_t | max_len | ||
) |
SHA256_DIGEST sha256 | ( | const void * | message, |
size_t | message_len | ||
) |
int sha256_comp | ( | SHA256_DIGEST | digest1, |
SHA256_DIGEST | digest2 | ||
) |
int sha256_from_str | ( | SHA256_DIGEST * | out, |
const char * | str | ||
) |
void sha256_str | ( | SHA256_DIGEST | digest, |
char * | str, | ||
size_t | max_len | ||
) |
const SHA256_DIGEST SHA256_ZEROED = {{0}} |