Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CODEX_Ciphers::SHA1HashFunction Class Reference

This implements the SHA1 hash function. More...

#include <SHA1HashFunction.h>

Inheritance diagram for CODEX_Ciphers::SHA1HashFunction:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Ciphers::SHA1HashFunction:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CODEX_ASN1::ustring ustring
 Shortened name for basic_string< unsigned char >.

Public Member Functions

ustringoperator() (const ustring &buff) const
ustringoperator() (const ustring &buff, unsigned int len) const

Detailed Description

This implements the SHA1 hash function.

Definition at line 28 of file SHA1HashFunction.h.


Member Function Documentation

HashFunction::ustring * SHA1HashFunction::operator() const ustring buff,
unsigned int  len
const [virtual]
 

Parameters:
buff The data to hash as a ustring.
len The desired length of the output, in bits.
Returns:
A new ustring containing the hash output.

Implements CODEX_Ciphers::HashFunction.

Definition at line 38 of file SHA1HashFunction.cc.

HashFunction::ustring * SHA1HashFunction::operator() const ustring buff  )  const [virtual]
 

Parameters:
buff The data to hash as a ustring.
Returns:
A new ustring containing the hash output.

Implements CODEX_Ciphers::HashFunction.

Definition at line 26 of file SHA1HashFunction.cc.


The documentation for this class was generated from the following files:
Generated on Fri May 6 17:41:53 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1