QuickHash Library Type Library

RIPEMD160_CalculateStrHex

void RIPEMD160_CalculateStrHex( [ out ]RIPEMD160_HexDigest* pDest, [ in, string ] unsigned char* pSrc, [ in ] boolean bUpper );

Parameters

 pDest

    [out] A memory buffer that will receive the message digest as an ASCII null-terminated string. 

     Note. All predefined types are specified in the Predefined Types List.

 pSrc

    [in] A null-terminated string for which to calculate the message digest.

 bUpper

    [in] Uppercase flag. If bUpper is False, the received message digest represents a lowercase string, otherwise it represents an uppercase string.

Remarks

Calculates the RIPEMD-160 message digest for the null-terminated string specified by pSrc. The digest is retrieved as an ASCII null-terminated hexadecimal string in the pDest memory buffer.

VB Example

Private Sub MyButton_Click()   
    Dim Digest As RIPEMD160_HexDigest
    Dim MyStrData As String
    MyStrData = "Hello World!"
    'Get the digest
    RIPEMD160_CalculateStrHex Digest, MyStrData, True
    'Show the hexadecimal representation of the digest
    MsgBox QHASH_ASCIItoBSTR(Digest.Value(0))
End Sub

 

Type Library Overview   |   Type Library Functions   |   Useful Links   |   HashCalc

 

See Also    RIPEMD160_CalculateStr, RIPEMD160_Calculate, RIPEMD160_CalculateHex, QHASH_ASCIItoBSTR


 

 

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