iCrypto_MD5

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Crypto >

iCrypto_MD5

 

Description

 

The iCrypto_MD5() function performs a MD5 (message-digest algorithm) hash.

 

Syntax

 

hash = iCrypto_MD5(sText)

 

Returns

 

String, calculated hash.

 

Parameters

 

Name

Type

Optional

Meaning

sText

String

No

input text

 

Remarks

 

Restrictions

 

See also

 

iCrypto_SHA1, iCrypto_TestMD5

 

Examples

 

Uses "Crypto"

 

String sText = "This is my secret"

String sHash = iCrypto_MD5(sText)

 

msgbox 0, sText + $CRLF + sHash