FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

The SHA1 message digest. More...

#include <OpenFOAM/SHA1Digest.H>


Detailed Description

The SHA1 message digest.

See also:
Foam::SHA1
Source files

Definition at line 59 of file SHA1Digest.H.

List of all members.

Public Member Functions

 SHA1Digest ()
 Construct a zero digest.
void  clear ()
 Reset the digest to zero.
bool  operator== (const SHA1Digest &) const
 Equality operator.
bool  operator!= (const SHA1Digest &) const
 Inequality operator.

Static Public Attributes

static const unsigned  length = 20
 The length of the digest contents.

Friends

class  SHA1
Ostream &  operator<< (Ostream &, const SHA1Digest &)

Constructor & Destructor Documentation

fileScope SHA1Digest (  )

Construct a zero digest.

Definition at line 40 of file SHA1Digest.C.

References SHA1Digest::clear().


Member Function Documentation

void clear (  )

Reset the digest to zero.

Definition at line 48 of file SHA1Digest.C.

Referenced by SHA1Digest::SHA1Digest().

bool operator== ( const SHA1Digest &   rhs  ) const

Equality operator.

Definition at line 56 of file SHA1Digest.C.

bool operator!= ( const SHA1Digest &   rhs  ) const

Inequality operator.

Definition at line 70 of file SHA1Digest.C.

References Foam::operator==().


Friends And Related Function Documentation

friend class SHA1 [friend]

Definition at line 62 of file SHA1Digest.H.

Ostream& operator<< ( Ostream &   ,
const SHA1Digest &    
) [friend]

Member Data Documentation

const unsigned length = 20 [static]

The length of the digest contents.

Definition at line 65 of file SHA1Digest.H.

Referenced by Foam::operator<<().


The documentation for this class was generated from the following files: