#include <revolution/net.h>
void NETMD5GetDigest(NETMD5Context* context, void* digest);
| context | Pointer to the context structure used for MD5 generation. |
| digest | Pointer to the memory location that holds the message digest value. |
None.
This function gets the digest value using MD5. You must use the NETMD5Init function to initialize the "context" argument in advance, and then use the NETMD5Update function to provide input data.
This function rewrites context internally, so you cannot continue to use the same context with the NETMD5Update function.
Be sure to pass enough memory region in the digest argument to store the hash length to be generated.
For details, see the MD5 section of the hash algorithm.
2006/09/01 Initial version.
CONFIDENTIAL