![]() |
![]() |
![]() |
|
[
About the Wizard's Toolkit ] [ Command-line Tools ] [ Application Program Interface ] [ Install from Source Unix Windows Binary Releases Unix Windows ] [ Download ] [ Search ] [ Sponsors: ] |
AcquireSHA1Info() allocate the SHA1Info structure. The format of the AcquireSHA1Info method is: SHA1Info *AcquireSHA1Info(void) DestroySHA1Info() zeros memory associated with the SHA1Info structure. The format of the DestroySHA1Info method is: SHA1Info *DestroySHA1Info(SHA1Info *sha_info) A description of each parameter follows: sha_infoThe cipher sha_info. FinalizeSHA1() finalizes the SHA1 message accumulator computation. The format of the FinalizeSHA1 method is: FinalizeSHA1(SHA1Info *sha_info) A description of each parameter follows: sha_infoThe address of a structure of type SHA1Info. GetSHA1Blocksize() returns the SHA1 blocksize. The format of the GetSHA1Blocksize method is: unsigned int *GetSHA1Blocksize(const SHA1Info *sha1_info) A description of each parameter follows: sha1_infoThe sha1 info. GetSHA1Digest() returns the SHA1 digest. The format of the GetSHA1Digest method is: const StringInfo *GetSHA1Digest(const SHA1Info *sha1_info) A description of each parameter follows: sha1_infoThe sha1 info. GetSHA1Digestsize() returns the SHA1 digest size. The format of the GetSHA1Digestsize method is: unsigned int *GetSHA1Digestsize(const SHA1Info *sha1_info) A description of each parameter follows: sha1_infoThe sha1 info. IntializeSHA1() intializes the SHA1 accumulator. The format of the DestroySHA1Info method is: void InitializeSHA1Info(SHA1Info *sha_info) A description of each parameter follows: sha_infoThe cipher sha_info. TransformSHA1() transforms the SHA1 message accumulator. The format of the TransformSHA1 method is: TransformSHA1(SHA1Info *sha_info) A description of each parameter follows: sha_infoThe address of a structure of type SHA1Info. UpdateSHA1() updates the SHA1 message accumulator. The format of the UpdateSHA1 method is: UpdateSHA1(SHA1Info *sha_info,const StringInfo *message) A description of each parameter follows: sha_infoThe address of a structure of type SHA1Info. messageThe message |