Xiqual 0.9.1

In file xitools/md5sum.c:

void MD5Sum

(unsigned char* key, unsigned char* buf,
  unsigned len)

MD5-checksum a buffer.

Documentation

MD5-checksum a buffer. If you are not checksumming something piece by piece, this function will do the whole calculation for you. If you need to read in one piece of a stream to sum at a time, you must MD5Init() first, then MD5Update() with each chunk and run MD5Final() when all has been read. Otherwise, MD5Sum() is the tool.
Parameters:
key - A 16-byte buffer with the MD5 key.
- buf A buffer to sum, adding to the MD5 key.
- len Size of the buffer.
Author:
Ronny Bangsund
See Also:
MD5Init(), MD5Update(), MD5Final(), MD5Ascii()

Alphabetic index



This page was generated with the help of DOC++.