QuickHash Library Type Library

RIPEMD320_CalculateStr

void RIPEMD320_CalculateStr( [out]RIPEMD320_Digest* pDigest, [ in , string ] unsigned char* pSrc );

Parameters

 pDigest

    [out] A memory buffer that will receive the message digest.

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

 pSrc

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

Remarks

Calculates the RIPEMD-320 message digest for the null-terminated string specified by pSrc. The digest is retrieved in the pDigest memory buffer.

VB Example

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

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

 

See Also    RIPEMD320_CalculateStrHex, RIPEMD320_Calculate, RIPEMD320_CalculateHex, QHASH_ConvertToHex


 

 

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