Contents 

QuickHash Library
QuickHash Library Overview
QuickHash Library Applications
QuickHash Library Installation
Register QuickHash Library
MD2
CMD2 ( C++ Interface )
CMD2 class members
MD2 API ( QuickHash API )
MD2 API Functions
MD2 ( QuickHash Type Library )
MD4
CMD4 ( C++ Interface )
CMD4 class members
MD4 API ( QuickHash API )
MD4 API Functions
MD4 ( QuickHash Type Library )
MD5
CMD5 ( C++ Interface )
CMD5 class members
MD5 API ( QuickHash API )
MD5 API Functions
MD5 ( QuickHash Type Library )
SHA-1
CSHA1 ( C++ Interface )
CSHA1 class members
SHA1 API ( QuickHash API )
SHA1 API Functions
SHA1 ( QuickHash Type Library )
SHA-2 (256)
CSHA256 ( C++ Interface )
CSHA256 class members
SHA256 API ( QuickHash API )
SHA256 API Functions
SHA256 ( QuickHash Type Library )
SHA-2 (384)
CSHA384 ( C++ Interface )
CSHA384 class members
SHA384 API ( QuickHash API )
SHA384 API Functions
SHA384 ( QuickHash Type Library )
SHA-2 (512)
CSHA512 ( C++ Interface )
CSHA512 class members
SHA512 API ( QuickHash API )
SHA512 API Functions
SHA512 ( QuickHash Type Library )
RIPEMD-128
CRIPEMD128 ( C++ Interface )
CRIPEMD128 ( C++ Interface )
RIPEMD128 API ( QuickHash API )
RIPEMD128 API Functions
RIPEMD128 ( QuickHash Type Library )
RIPEMD-160
CRIPEMD160 ( C++ Interface )
CRIPEMD160 ( C++ Interface )
RIPEMD160 API ( QuickHash API )
RIPEMD160 API Functions
RIPEMD160 ( QuickHash Type Library )
RIPEMD-256
CRIPEMD256 ( C++ Interface )
CRIPEMD256 ( C++ Interface )
RIPEMD256 API ( QuickHash API )
RIPEMD256 API Functions
RIPEMD256 ( QuickHash Type Library )
RIPEMD-320
CRIPEMD320 ( C++ Interface )
CRIPEMD320 ( C++ Interface )
RIPEMD320 API ( QuickHash API )
RIPEMD320 API Functions
RIPEMD320 ( QuickHash Type Library )
PANAMA
CPanama ( C++ Interface )
CPanama class members
PANAMA API ( QuickHash API )
PANAMA API Functions
PANAMA ( QuickHash Type Library )
TIGER
CTiger
CTiger class members
TIGER API ( QuickHash API )
TIGER API Functions
TIGER ( QuickHash Type Library )
CRC16
CCRC16 ( C++ Interface )
CCRC16 class members
CRC16 API ( QuickHash API )
CRC16 API Functions
CRC16 ( QuickHash Type Library )
CRC16C
CCRC16C ( C++ Interface )
CCRC16C class members
CRC16C API ( QuickHash API )
CRC16C API Functions
CRC16C ( QuickHash Type Library )
CRC32
CCRC32 ( C++ Interface )
CCRC32 class members
CRC32 API ( QuickHash API )
CRC32 API Functions
CRC32 ( QuickHash Type Library )
ADLER32
CAdler32 ( C++ Interface )
CAdler32 class members
ADLER32 API ( QuickHash API )
ADLER32 API Functions
ADLER32 ( QuickHash Type Library )
HMAC
CHMAC ( C++ Interface )
CHMAC class members
HMAC API ( QuickHash API )
HMAC API Functions
HMAC ( QuickHash Type Library )
QuickHash Type Library
Type Library Overview
Type Library Functions
Type Library Constants
Type Library Types
Type Library Error Codes
QuickHash Library Run-Time Dynamic Linking
Function Indicies in QuickHash.dll
License Agreement
Samples

SlavaSoft QuickHash Library Online Help

Prev Page Next Page
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