iCrypto_Bin2ASCII

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Crypto >

iCrypto_Bin2ASCII

 

Description

 

Translates string containing text to string of hexadecimal ASCII codes.

 

Syntax

 

hexadecimalString = iCrypto_Bin2ASCII(textString)

 

Returns

 

String, hexadecimal form of the original.

 

Parameters

 

Name

Type

Optional

Meaning

textString

String

No

Input text you want to encode to hexadecimal ASCII codes.

 

Remarks

 

Restrictions

 

See also

 

iCrypto_ASCII2Bin

 

Examples

 

Uses "Crypto"

 

' Displays "414243", because 41 is hexcode for A, 42 hexcode for B, 43 hexcode for C

MsgBox 0, iCrypto_ASCII2Bin("ABC")