# MATHSHA1Context

## Syntax

      #include <nitro/math/dgt.h>

      typedef struct MATHSHA1Context MATHSHA1Context;

## Elements

Do not access the elements of this structure directly.

## Description

This is the context structure used in calculating SHA-1. Its size is 104 bytes. Initialize it using the `MATH_SHA1Init` function, provide the input data with the `MATH_SHA1Update` function, and get the message digest value with the `MATH_SHA1GetHash` function. 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).

## See Also

`MATH_SHA1Init`, `MATH_SHA1Update`, `MATH_SHA1GetHash`

## Revision History

2005/04/12 Added description of size.
2005/04/01 Initial version.

CONFIDENTIAL