QuickHash Library Type Library

General Functions

QHASH_StringDigest Calculates the message digest/checksum for a null-terminated string. The calculations can be performed based on any supported by QuickHash Library hash/checksum algorithm.

QHASH_StringHexDigest Calculates the message digest/checksum for a null-terminated string and returns the result in hexadecimal representation. The calculations can be performed based on any supported by QuickHash Library hash/checksum algorithm.

QHASH_StringHMAC Calculates the HMAC for a null-terminated string. The calculations can be performed based on any supported by QuickHash Library hash algorithm.

QHASH_StringHexHMAC Calculates the HMAC for a null-terminated string and returns the result in hexadecimal representation. The calculations can be performed based on any supported by QuickHash Library hash algorithm.

QHASH_BlockDigest Calculates the message digest/checksum for a continuous memory block. The calculations can be performed based on any supported by QuickHash Library hash/checksum algorithm.

QHASH_BlockHexDigest Calculates the message digest/checksum for a continuous memory block and returns the result in hexadecimal representation. The calculations can be performed based on any supported by QuickHash Library hash/checksum algorithm.

QHASH_BlockHMAC Calculates the HMAC for a continuous memory block. The calculations can be performed based on any supported by QuickHash Library hash algorithm.

QHASH_BlockHexHMAC Calculates the HMAC for a continuous memory block and returns the result in hexadecimal representation. The calculations can be performed based on any supported by QuickHash Library hash algorithm.

QHASH_FileDigest Calculates the message digest/checksum for a file. The calculations can be performed based on any supported by QuickHash Library hash/checksum algorithm.

QHASH_FileHexDigest Calculates the message digest/checksum for a file and returns the result in hexadecimal representation. The calculations can be performed based on any supported by QuickHash Library hash/checksum algorithm.

QHASH_FileHMAC Calculates the HMAC for a file. The calculations can be performed based on any supported by QuickHash Library hash algorithm.

QHASH_FileHexHMAC Calculates the HMAC for a file and returns the result in hexadecimal representation. The calculations can be performed based on any supported by QuickHash Library hash algorithm.

QHASH_GetLastError Returns the last error code.

QHASH_ConvertToHex Returns the hexadecimal representation of a block of bytes using 'big-endian' order.

QHASH_ConvertToHexLE   Returns the hexadecimal representation of a block of bytes using 'little-endian' order.

QHASH_GetDigestSize Returns the size of the message digest/checksum for the specified hash/checksum algorithm.

QHASH_ASCIItoBSTR Converts a null-terminated ASCII string to a BSTR string.

Algorithm-Specific Functions For Message Digest/Checksum Calculation

MD2_Init Initializes the context based on MD2 hash algorithm.

MD2_Update Updates the context with a continuous block of memory based on MD2 hash algorithm.

MD2_UpdateStr Updates the context with a null-terminated string based on MD2 hash algorithm.

MD2_Final Retrieves the MD2 digest from the context and reinitializes the context.

MD2_FinalHex Retrieves the MD2 digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

MD2_Calculate Calculates the MD2 digest for a continuous block of memory.

MD2_CalculateStr Calculates the MD2 digest for a null-terminated string.

MD2_CalculateHex Calculates the MD2 digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

MD2_CalculateStrHex   Calculates the MD2 digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

MD4_Init Initializes the context based on MD4 hash algorithm.

MD4_Update Updates the context with a continuous block of memory based on MD4 hash algorithm.

MD4_UpdateStr Updates the context with a null-terminated string based on MD4 hash algorithm.

MD4_Final Retrieves the MD4 digest from the context and reinitializes the context.

MD4_FinalHex Retrieves the MD4 digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

MD4_Calculate Calculates the MD4 digest for a continuous block of memory.

MD4_CalculateStr Calculates the MD4 digest for a null-terminated string.

MD4_CalculateHex Calculates the MD4 digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

MD4_CalculateStrHex   Calculates the MD4 digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

MD5_Init Initializes the context based on MD5 hash algorithm.

MD5_Update Updates the context with a continuous block of memory based on MD5 hash algorithm.

MD5_UpdateStr Updates the context with a null-terminated string based on MD5 hash algorithm.

MD5_Final Retrieves the MD5 digest from the context and reinitializes the context.

MD5_FinalHex Retrieves the MD5 digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

MD5_Calculate Calculates the MD5 digest for a continuous block of memory.

MD5_CalculateStr Calculates the MD5 digest for a null-terminated string.

MD5_CalculateHex Calculates the MD5 digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

MD5_CalculateStrHex   Calculates the MD5 digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

SHA1_Init Initializes the context based on SHA1 hash algorithm.

SHA1_Update Updates the context with a continuous block of memory based on SHA1 hash algorithm.

SHA1_UpdateStr Updates the context with a null-terminated string based on SHA1 hash algorithm.

SHA1_Final Retrieves the SHA1 digest from the context and reinitializes the context.

SHA1_FinalHex Retrieves the SHA1 digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

SHA1_Calculate Calculates the SHA1 digest for a continuous block of memory.

SHA1_CalculateStr Calculates the SHA1 digest for a null-terminated string.

SHA1_CalculateHex Calculates the SHA1 digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

SHA1_CalculateStrHex   Calculates the SHA1 digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

SHA256_Init Initializes the context based on SHA256 hash algorithm.

SHA256_Update Updates the context with a continuous block of memory based on SHA256 hash algorithm.

SHA256_UpdateStr Updates the context with a null-terminated string based on SHA256 hash algorithm.

SHA256_Final Retrieves the SHA256 digest from the context and reinitializes the context.

SHA256_FinalHex Retrieves the SHA256 digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

SHA256_Calculate Calculates the SHA256 digest for a continuous block of memory.

SHA256_CalculateStr Calculates the SHA256 digest for a null-terminated string.

SHA256_CalculateHex Calculates the SHA256 digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

SHA256_CalculateStrHex   Calculates the SHA256 digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

SHA384_Init Initializes the context based on SHA384 hash algorithm.

SHA384_Update Updates the context with a continuous block of memory based on SHA384 hash algorithm.

SHA384_UpdateStr Updates the context with a null-terminated string based on SHA384 hash algorithm.

SHA384_Final Retrieves the SHA384 digest from the context and reinitializes the context.

SHA384_FinalHex Retrieves the SHA384 digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

SHA384_Calculate Calculates the SHA384 digest for a continuous block of memory.

SHA384_CalculateStr Calculates the SHA384 digest for a null-terminated string.

SHA384_CalculateHex Calculates the SHA384 digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

SHA384_CalculateStrHex   Calculates the SHA384 digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

SHA512_Init Initializes the context based on SHA512 hash algorithm.

SHA512_Update Updates the context with a continuous block of memory based on SHA512 hash algorithm.

SHA512_UpdateStr Updates the context with a null-terminated string based on SHA512 hash algorithm.

SHA512_Final Retrieves the SHA512 digest from the context and reinitializes the context.

SHA512_FinalHex Retrieves the SHA512 digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

SHA512_Calculate Calculates the SHA512 digest for a continuous block of memory.

SHA512_CalculateStr Calculates the SHA512 digest for a null-terminated string.

SHA512_CalculateHex Calculates the SHA512 digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

SHA512_CalculateStrHex   Calculates the SHA512 digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

RIPEMD128_Init Initializes the context based on RIPEMD128 hash algorithm.

RIPEMD128_Update Updates the context with a continuous block of memory based on RIPEMD128 hash algorithm.

RIPEMD128_UpdateStr Updates the context with a null-terminated string based on RIPEMD128 hash algorithm.

RIPEMD128_Final Retrieves the RIPEMD128 digest from the context and reinitializes the context.

RIPEMD128_FinalHex Retrieves the RIPEMD128 digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

RIPEMD128_Calculate Calculates the RIPEMD128 digest for a continuous block of memory.

RIPEMD128_CalculateStr Calculates the RIPEMD128 digest for a null-terminated string.

RIPEMD128_CalculateHex Calculates the RIPEMD128 digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

RIPEMD128_CalculateStrHex   Calculates the RIPEMD128 digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

RIPEMD160_Init Initializes the context based on RIPEMD160 hash algorithm.

RIPEMD160_Update Updates the context with a continuous block of memory based on RIPEMD160 hash algorithm.

RIPEMD160_UpdateStr Updates the context with a null-terminated string based on RIPEMD160 hash algorithm.

RIPEMD160_Final Retrieves the RIPEMD160 digest from the context and reinitializes the context.

RIPEMD160_FinalHex Retrieves the RIPEMD160 digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

RIPEMD160_Calculate Calculates the RIPEMD160 digest for a continuous block of memory.

RIPEMD160_CalculateStr Calculates the RIPEMD160 digest for a null-terminated string.

RIPEMD160_CalculateHex Calculates the RIPEMD160 digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

RIPEMD160_CalculateStrHex   Calculates the RIPEMD160 digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

RIPEMD256_Init Initializes the context based on RIPEMD256 hash algorithm.

RIPEMD256_Update Updates the context with a continuous block of memory based on RIPEMD256 hash algorithm.

RIPEMD256_UpdateStr Updates the context with a null-terminated string based on RIPEMD256 hash algorithm.

RIPEMD256_Final Retrieves the RIPEMD256 digest from the context and reinitializes the context.

RIPEMD256_FinalHex Retrieves the RIPEMD256 digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

RIPEMD256_Calculate Calculates the RIPEMD256 digest for a continuous block of memory.

RIPEMD256_CalculateStr Calculates the RIPEMD256 digest for a null-terminated string.

RIPEMD256_CalculateHex Calculates the RIPEMD256 digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

RIPEMD256_CalculateStrHex   Calculates the RIPEMD256 digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

RIPEMD320_Init Initializes the context based on RIPEMD320 hash algorithm.

RIPEMD320_Update Updates the context with a continuous block of memory based on RIPEMD320 hash algorithm.

RIPEMD320_UpdateStr Updates the context with a null-terminated string based on RIPEMD320 hash algorithm.

RIPEMD320_Final Retrieves the RIPEMD320 digest from the context and reinitializes the context.

RIPEMD320_FinalHex Retrieves the RIPEMD320 digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

RIPEMD320_Calculate Calculates the RIPEMD320 digest for a continuous block of memory.

RIPEMD320_CalculateStr Calculates the RIPEMD320 digest for a null-terminated string.

RIPEMD320_CalculateHex Calculates the RIPEMD320 digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

RIPEMD320_CalculateStrHex   Calculates the RIPEMD320 digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

PANAMA_Init Initializes the context based on PANAMA hash algorithm.

PANAMA_Update Updates the context with a continuous block of memory based on PANAMA hash algorithm.

PANAMA_UpdateStr Updates the context with a null-terminated string based on PANAMA hash algorithm.

PANAMA_Final Retrieves the PANAMA digest from the context and reinitializes the context.

PANAMA_FinalHex Retrieves the PANAMA digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

PANAMA_Calculate Calculates the PANAMA digest for a continuous block of memory.

PANAMA_CalculateStr Calculates the PANAMA digest for a null-terminated string.

PANAMA_CalculateHex Calculates the PANAMA digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

PANAMA_CalculateStrHex   Calculates the PANAMA digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

TIGER_Init Initializes the context based on TIGER hash algorithm.

TIGER_Update Updates the context with a continuous block of memory based on TIGER hash algorithm.

TIGER_UpdateStr Updates the context with a null-terminated string based on TIGER hash algorithm.

TIGER_Final Retrieves the TIGER digest from the context and reinitializes the context.

TIGER_FinalHex Retrieves the TIGER digest from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

TIGER_Calculate Calculates the TIGER digest for a continuous block of memory.

TIGER_CalculateStr Calculates the TIGER digest for a null-terminated string.

TIGER_CalculateHex Calculates the TIGER digest for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

TIGER_CalculateStrHex   Calculates the TIGER digest for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

 

CRC16_Init Initializes the context based on CRC16 checksum algorithm.

CRC16_Update Updates the context with a continuous block of memory based on CRC16 checksum algorithm.

CRC16_UpdateStr Updates the context with a null-terminated string based on CRC16 checksum algorithm.

CRC16_Final Retrieves the CRC16 checksum from the context and reinitializes the context.

CRC16_FinalHex Retrieves the CRC16 checksum from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

CRC16_Calculate Calculates the CRC16 checksum for a continuous block of memory.

CRC16_CalculateStr Calculates the CRC16 checksum for a null-terminated string.

CRC16_CalculateHex Calculates the CRC16 checksum for a continuous block of memory. The obtained checksum is a null-terminated hexadecimal string.

CRC16_CalculateStrHex   Calculates the CRC16 checksum for a null-terminated string. The obtained checksum is a null-terminated hexadecimal string.

 

CRC16C_Init Initializes the context based on CRC16C checksum algorithm.

CRC16C_Update Updates the context with a continuous block of memory based on CRC16C checksum algorithm.

CRC16C_UpdateStr Updates the context with a null-terminated string based on CRC16C checksum algorithm.

CRC16C_Final Retrieves the CRC16C checksum from the context and reinitializes the context.

CRC16C_FinalHex Retrieves the CRC16C checksum from the context and reinitializes the context. The obtained checksum is a null-terminated hexadecimal string.

CRC16C_Calculate Calculates the CRC16C checksum for a continuous block of memory.

CRC16C_CalculateStr Calculates the CRC16C checksum for a null-terminated string.

CRC16C_CalculateHex Calculates the CRC16C checksum for a continuous block of memory. The obtained checksum is a null-terminated hexadecimal string.

CRC16C_CalculateStrHex   Calculates the CRC16C checksum for a null-terminated string. The obtained checksum is a null-terminated hexadecimal string.

 

CRC32_Init Initializes the context based on CRC32 checksum algorithm.

CRC32_Update Updates the context with a continuous block of memory based on CRC32 checksum algorithm.

CRC32_UpdateStr Updates the context with a null-terminated string based on CRC32 checksum algorithm.

CRC32_Final Retrieves the CRC32 checksum from the context and reinitializes the context.

CRC32_FinalHex Retrieves the CRC32 checksum from the context and reinitializes the context. The obtained checksum is a null-terminated hexadecimal string.

CRC32_Calculate Calculates the CRC32 checksum for a continuous block of memory.

CRC32_CalculateStr Calculates the CRC32 checksum for a null-terminated string.

CRC32_CalculateHex Calculates the CRC32 checksum for a continuous block of memory. The obtained checksum is a null-terminated hexadecimal string.

CRC32_CalculateStrHex   Calculates the CRC32 checksum for a null-terminated string. The obtained checksum is a null-terminated hexadecimal string.

 

ADLER32_Init Initializes the context based on ADLER32 checksum algorithm.

ADLER32_Update Updates the context with a continuous block of memory based on ADLER32 checksum algorithm.

ADLER32_UpdateStr Updates the context with a null-terminated string based on ADLER32 checksum algorithm.

ADLER32_Final Retrieves the ADLER32 checksum from the context and reinitializes the context.

ADLER32_FinalHex Retrieves the ADLER32 checksum from the context and reinitializes the context. The obtained checksum is a null-terminated hexadecimal string.

ADLER32_Calculate Calculates the ADLER32 checksum for a continuous block of memory.

ADLER32_CalculateStr Calculates the ADLER32 checksum for a null-terminated string.

ADLER32_CalculateHex Calculates the ADLER32 checksum for a continuous block of memory. The obtained checksum is a null-terminated hexadecimal string.

ADLER32_CalculateStrHex   Calculates the ADLER32 checksum for a null-terminated string. The obtained checksum is a null-terminated hexadecimal string.

HMAC-Specific Functions

HMAC_Init Initializes the context for HMAC calculations with a key that represents a continuous block of memory.

HMAC_InitKeyStr Initializes the context for HMAC calculations with a key that represents a null-terminated string.

HMAC_Update Updates the context with a continuous block of memory.

HMAC_UpdateStr Updates the context with a null-terminated string.

HMAC_Final Retrieves the HMAC from the context and reinitializes the context.

HMAC_FinalHex Retrieves the HMAC from the context and reinitializes the context. The obtained digest is a null-terminated hexadecimal string.

HMAC_Calculate Calculates the HMAC for a continuous block of memory.

HMAC_CalculateStr Calculates the HMAC for a null-terminated string.

HMAC_CalculateHex Calculates the HMAC for a continuous block of memory. The obtained digest is a null-terminated hexadecimal string.

HMAC_CalculateStrHex   Calculates the HMAC for a null-terminated string. The obtained digest is a null-terminated hexadecimal string.

HMAC_GetDigestSize   Returns the size of the digest for the hash algorithm selected for calculations.

Type Library Overview   |   Useful Links   |   HashCalc


 

 

Send Feedback to SlavaSoft Inc. Tell a friend about QuickHash Library