Navigation:  thinBasic language > Modules > Crypto >

iCrypto_TestSHA1

Previous pageReturn to chapter overviewNext page

 

Description

 

The iCrypto_TestSH1() function verifies a SH1 (message-digest algorithm) hash alghoritm using a well know set of bytes.

 

Syntax

 

iCrypto_TestSH1() 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

 

 

Remarks

 

   This function is for internal use only.

 

Restrictions

 

 

See also

 

iCrypto_SHA1

 

Examples

 

IF iCrypto_TestSH1() THEN

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

END IF

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.6.0.10 Web Site: http://www.thinbasic.com