#include <nitro/math/dgt.h>
static inline void MATH_SHA1GetHash( MATHSHA1Context *context, void* digest );
context |
Pointer to the context structure used for SHA-1 generation. |
digest | Pointer to the memory location that holds the message digest value. |
None.
This function gets the digest value using SHA-1. You must use MATH_SHA1Init
to initialize the "context" argument, and then use MATH_SHA1Update
to provide input data. The length of the generated message digest value is 160 bits, or MATH_SHA1_DIGEST_SIZE (= 20)
SHA-1 is an algorithm to find the message digest value. For details, see RFC (Request For Comments) 3174, which is published by IETF (The Internet Engineering Task Force).
MATH_SHA1Init
, MATH_SHA1Update
07/11/2005 Added to Description.
04/12/2005 Changed function name.
04/01/2005 Initial version.