NETSHA1Init

C Specification

#include <revolution/net.h>

void NETSHA1Init( NETSHA1Context *context );

Arguments

context Pointer to the context structure used for initializing SHA-1 generation.

Return Values

None.

Description

This function initializes the NETSHA1Context type context structure used in calculating SHA-1. Make sure that this function is called before using the NETSHA1Update and NETSHA1GetDigest functions.
You can re-apply this function to a context structure that is already initialized. In this case, it will return the context structure to its initial state.

For details, see the "SHA-1" section of the hash algorithm.

See Also

NETSHA1Update, NETSHA1GetDigest

Revision History

2007/02/15 Corrected incorrect links.
2006/09/01 Initial version.


CONFIDENTIAL