![]() |
![]() |
![]() |
|
[
About the Wizard's Toolkit ] [ Command-line Tools ] [ Application Program Interface ] [ Install from Source Unix Windows Binary Releases Unix Windows ] [ Download ] [ Search ] [ Sponsors: ] |
AcquireHashInfo() allocates the HashInfo structure. The format of the AcquireHashInfo method is: HashInfo *AcquireHashInfo(const HashType hash) A description of each parameter follows: hashThe hash type. 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_infoThe hash info. FinalizeHash() finalizes the Hash message accumulator computation. The format of the FinalizeHash method is: FinalizeHash(HashInfo *hash_info) A description of each parameter follows: hash_infoThe address of a structure of type HashInfo. GetHashBlocksize() returns the Hash blocksize. The format of the GetHashBlocksize method is: unsigned long *GetHashBlocksize(const HashInfo *hash_info) A description of each parameter follows: hash_infoThe hash info. 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_infoThe hash info. 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_infoThe hash info. 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_infoThe hash info. IntializeHash() intializes the Hash accumulator. The format of the IntializeHash method is: void IntializeHash(HashInfo *hash_info) A description of each parameter follows: hash_infoThe hash info. UpdateHash() updates the Hash message accumulator. The format of the UpdateHash method is: UpdateHash(HashInfo *hash_info,const StringInfo *message) A description of each parameter follows: hash_infoThe address of a structure of type HashInfo. messageThe message. |