#include "beecrypt/beecrypt.h"
Go to the source code of this file.
Data Structures | |
struct | md5Param |
Holds all the parameters necessary for the MD5 algorithm. More... | |
Functions | |
BEECRYPTAPI void | md5Process (md5Param *mp) |
BEECRYPTAPI int | md5Reset (md5Param *mp) |
This function resets the parameter block so that it's ready for a new hash. | |
BEECRYPTAPI int | md5Update (md5Param *mp, const byte *data, size_t size) |
This function should be used to pass successive blocks of data to be hashed. | |
BEECRYPTAPI int | md5Digest (md5Param *mp, byte *digest) |
This function finishes the current hash computation and copies the digest value into digest. | |
Variables | |
BEECRYPTAPI const hashFunction | md5 |
This function finishes the current hash computation and copies the digest value into digest.
mp | The hash function's parameter block. | |
digest | The place to store the 16-byte digest. |
0 | on success. |
BEECRYPTAPI void md5Process | ( | md5Param * | mp | ) |
int md5Reset | ( | md5Param * | mp | ) |
This function resets the parameter block so that it's ready for a new hash.
mp | The hash function's parameter block. |
0 | on success. |
This function should be used to pass successive blocks of data to be hashed.
mp | The hash function's parameter block. | |
data | ||
size |
0 | on success. |
BEECRYPTAPI const hashFunction md5 |