mdigest(3BM)

NAME
fBigMessageDigest, bigMessageDigest

SYNOPSIS
#include <libcrypt.h>

void fBigMessageDigest(char *filename, BigInt digest, DigestType digestType)

void bigMessageDigest(unsigned char *buf, int buflen, BigInt digest, DigestType digestType)

This is a simple interface to SHS, MD2, MD4 and MD5.
$digest$ must be initialized (digest = bigInit(0)).
The digest types are defined as follows:
#define SHS 1
#define MD5 5
#define MD4 4
#define MD2 3
typedef int DigestType;

SEE ALS
bigInit(3BM), bigTest(3BM), bigBits(3BM), bigToBuf(3BM), bufToBig(3BM), fBigPrint(3BM), atobig(3BM),