Name
HMAC -- cryptographic message authentication.
Synopsis
#include <hmac.h>
void hmac_md5 (unsigned char *data,
int data_len,
unsigned char *key,
int key_len,
unsigned char digest[16]); |
Description
HMAC is a cryptographic mechanism for message authentication described
in RFC2104. It allows a sender and receiver with a shared
cryptographic key to verify the authenticity of a message.
Details
hmac_md5 ()
void hmac_md5 (unsigned char *data,
int data_len,
unsigned char *key,
int key_len,
unsigned char digest[16]); |
Computes MD5 digest of data using key key.