Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound 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 Methods

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.

References CODEX_Ciphers::HashFunction::ustring, and CODEX_ASN1::ustring.

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.

References CODEX_Ciphers::HashFunction::ustring, and CODEX_ASN1::ustring.


The documentation for this class was generated from the following files:
Generated on Wed Jun 2 16:33:04 2004 for COrnell Data EXchange (CODEX) by doxygen1.2.18