Navigation:  thinBasic Modules > Crypto > iCrypto_SHA1 >

iCrypto_TestSHA1

Previous pageReturn to chapter overviewNext page

 

Description

 

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

 

Syntax

 

iCrypto_TestSHA1() AS NUMBER

 

Returns

 

Returns AS NUMBER

   If the function succeeds, the return value is nonzero.

   If the function fails, the return value is zero.

 

Parameters

 

Name

Type

Optional

Meaning









 

Remarks

 

   This function is for internal use only.

 

Restrictions

 

 

See also

 

iCrypto_SHA1

 

Examples

 

IF iCrypto_TestSHA1() THEN

  MSGBOX 0, "The iCrypto's implementation of SH1 it's ok!"

END IF