CSHA2 Class Reference

#include <hash.h>

Link against: hash.lib

class CSHA2 : public CMessageDigest

Inherits from

Detailed Description

A SHA-2 message digest

SHA-2 is comprised of SHA-224, SHA256, SHA384 and SHA512

Constructor & Destructor Documentation

CSHA2 ( void )

CSHA2(void)[protected]

~CSHA2 ( void )

IMPORT_C~CSHA2(void)

Destructor

Member Function Documentation

NewL ( TSH2Algo )

IMPORT_C CSHA2 *NewL(TSH2AlgoaAlgorithmId)[static]

Creates a new SHA-1 object.

Return Value
A pointer to the new SHA-1 object

NewLC ( TSH2Algo )

IMPORT_C CSHA2 *NewLC(TSH2AlgoaAlgorithmId)[static]

RestoreState ( )

voidRestoreState()[virtual]

Restores the internal state of the message digest to a previously stored state.

See also: StoreState()

StoreState ( )

voidStoreState()[virtual]

Reimplemented from CMessageDigest::StoreState()

Stores the internal state of the message digest.