iCrypto_TestSHA1

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Crypto > iCrypto_SHA1 >

iCrypto_TestSHA1

 

Description

 

The iCrypto_TestSHA1() function verifies a SHA1 (message-digest algorithm) hash algorithm using a well know set of bytes.

 

Syntax

 

testSucceeded = iCrypto_TestSHA1()

 

Returns

 

Number, non-zero for success, otherwise zero.

 

Remarks

 

   This function is for internal use only.

 

Restrictions

 

See also

 

Examples

 

Uses "Crypto"

 

if iCrypto_TestSHA1() then

 msgbox 0, "The iCrypto's implementation of SHA1 is ok!"

end if