The "md" Package

These routines are meant to provide message digests (secure hash functions) These have application in message authentication/verification.

Library: karma
Link With: -lkarma

Functions

md_md5_initInitialise MD5 context.
md_md5_updateAdd data to an MD5 context.
md_md5_finalClose an MD5 context.
md_md5_transformRun the core MD5 transform over a block of data.


Functions


MD5Context md_md5_init ()

Initialise MD5 context.

Parameters:

Returns: An MD5 context.
Multithreading Level: Unsafe


void md_md5_update (MD5Context ctx, CONST unsigned char *buf, unsigned int len)

Add data to an MD5 context.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


void md_md5_final (MD5Context ctx, unsigned char digest[16])

Close an MD5 context.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


void md_md5_transform (unsigned char buf[16], CONST unsigned char in[64])

Run the core MD5 transform over a block of data.

Parameters:

Returns: Nothing.
Multithreading Level: Unsafe


Back to Karma Home Page
Contact: Richard Gooch
Web Development: Ariel Internet Services