Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IDigest2::calculateRIPEMD160 ( P6CRYPTODATASOURCE pInData,
P6BOOL  base64Encode,
P6CRYPTODATASINK pOutData 
)
pure virtual

RIPEMD-160 cryptographic hash function (160 bit digest size) The RIPEMD-160 of either a file (both binary and text) or a buffer can be calculated.

Parameters
pInData[ in ] Pointer to the data to calculate DSS1 over.
base64Encode[ in ] Flag indicating whether RIPEMD-160 should be encoded in base64 (otherwise it is binary string)
pOutData[ in ] Pointer to where to copy the RIPEMD-160 value.
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eInvalidArgOne of the parameters is NULL.
P6R::eNotFoundFile data source does not exist.
P6R::eIoErrorWrite to file data sink failed.
P6R::eTooSmallThe buffer data sink is too small to contain the generated value.
P6R::eTooBig/td>Internal error
P6R::eFailAndExceptionThe digest calculation failed. Exception record provides detailed error info.