AcquireHashInfoDestroyHashInfoFinalizeHashGetHashBlocksizeGetHashDigestGetHashDigestsizeGetHashHexDigestIntializeHashUpdateHash

AcquireHashInfo

AcquireHashInfo() allocates the HashInfo structure.

The format of the AcquireHashInfo method is:

HashInfo *AcquireHashInfo(const HashType hash)

A description of each parameter follows:

hash
The hash type.

DestroyHashInfo

DestroyHashInfo() zeros memory associated with the HashInfo structure.

The format of the DestroyHashInfo method is:

HashInfo *DestroyHashInfo(HashInfo *hash_info)

A description of each parameter follows:

hash_info
The hash info.

FinalizeHash

FinalizeHash() finalizes the Hash message accumulator computation.

The format of the FinalizeHash method is:

WizardBooleanType FinalizeHash(HashInfo *hash_info)

A description of each parameter follows:

hash_info
The address of a structure of type HashInfo.

GetHashBlocksize

GetHashBlocksize() returns the Hash blocksize.

The format of the GetHashBlocksize method is:

size_t *GetHashBlocksize(const HashInfo *hash_info)

A description of each parameter follows:

hash_info
The hash info.

GetHashDigest

GetHashDigest() returns the Hash digest.

The format of the GetHashDigest method is:

const StringInfo *GetHashDigest(const HashInfo *hash_info)

A description of each parameter follows:

hash_info
The hash info.

GetHashDigestsize

GetHashDigestsize() returns the Hash digest size.

The format of the GetHashDigestsize method is:

unsigned int *GetHashDigestsize(const HashInfo *hash_info)

A description of each parameter follows:

hash_info
The hash info.

GetHashHexDigest

GetHashHexDigest() returns the hash digest as a hex string.

The format of the GetHashHexDigest method is:

char *GetHashHexDigest(const HashInfo *hash_info)

A description of each parameter follows:

hash_info
The hash info.

IntializeHash

IntializeHash() intializes the Hash accumulator.

The format of the IntializeHash method is:

WizardBooleanType IntializeHash(HashInfo *hash_info)

A description of each parameter follows:

hash_info
The hash info.

UpdateHash

UpdateHash() updates the Hash message accumulator.

The format of the UpdateHash method is:

WizardBooleanType UpdateHash(HashInfo *hash_info,
  const StringInfo *message)

A description of each parameter follows:

hash_info
The address of a structure of type HashInfo.
message
The message.