sha1transform.h File Reference

Detailed Description

This is the header file for code which implements the Secure Hashing Algorithm 1 as defined in FIPS PUB 180-1 published April 17, 1995.

Many of the variable names in this code, especially the single character names, were used because those were the names used in the publication.

Please read the file sha1transform.cpp for more information.

Definition in file sha1transform.h.

#include <hn/hash.h>

Include dependency graph for sha1transform.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define SHA1HashSize   20


enum  { shaSuccess = 0, shaNull, shaInputTooLong, shaStateError }

Define Documentation

#define SHA1HashSize   20

Definition at line 21 of file sha1transform.h.

Referenced by Sha1Transform::getHash().

Enumeration Type Documentation

anonymous enum

Enumeration values:
shaNull  Null pointer parameter.
shaInputTooLong  input data too long
shaStateError  called Input after Result

Definition at line 22 of file sha1transform.h.