MagickCore 7.0.10
hash.h File Reference
#include "wizard/string_.h"
Include dependency graph for hash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _HashInfo HashInfo
 

Enumerations

enum  HashType {
  UndefinedHash , NoHash , CRC64Hash , MD5Hash ,
  SHA1Hash , SHA2Hash , SHA2224Hash , SHA2256Hash ,
  SHA2384Hash , SHA2512Hash , SHA3Hash , SHA3224Hash ,
  SHA3256Hash , SHA3384Hash , SHA3512Hash
}
 

Functions

WizardExport char * GetHashHexDigest (const HashInfo *)
 
WizardExport const StringInfoGetHashDigest (const HashInfo *)
 
WizardExport HashInfoDestroyHashInfo (HashInfo *)
 
WizardExport HashInfoAcquireHashInfo (const HashType)
 
WizardExport size_t GetHashBlocksize (const HashInfo *)
 
WizardExport size_t GetHashDigestsize (const HashInfo *)
 
WizardExport WizardBooleanType InitializeHash (HashInfo *)
 
WizardExport WizardBooleanType FinalizeHash (HashInfo *)
 
WizardExport WizardBooleanType UpdateHash (HashInfo *, const StringInfo *)
 

Typedef Documentation

◆ HashInfo

typedef struct _HashInfo HashInfo

Definition at line 47 of file hash.h.

Enumeration Type Documentation

◆ HashType

enum HashType
Enumerator
UndefinedHash 
NoHash 
CRC64Hash 
MD5Hash 
SHA1Hash 
SHA2Hash 
SHA2224Hash 
SHA2256Hash 
SHA2384Hash 
SHA2512Hash 
SHA3Hash 
SHA3224Hash 
SHA3256Hash 
SHA3384Hash 
SHA3512Hash 

Definition at line 27 of file hash.h.

Function Documentation

◆ AcquireHashInfo()

◆ DestroyHashInfo()

WizardExport HashInfo * DestroyHashInfo ( HashInfo )

◆ FinalizeHash()

WizardExport WizardBooleanType FinalizeHash ( HashInfo )

◆ GetHashBlocksize()

WizardExport size_t GetHashBlocksize ( const HashInfo )

◆ GetHashDigest()

◆ GetHashDigestsize()

◆ GetHashHexDigest()

◆ InitializeHash()

WizardExport WizardBooleanType InitializeHash ( HashInfo )

◆ UpdateHash()