u3060

u3060


u28 Index Level u3079
Syntax result = OCONV( variable, 'u3060' )
Category BASIC
Type User Exit
Description encrypts a character string. This is the same user exit called by the "password" program.

The result is always an 8-character hex string.
Options
See Also user exits, FlashBASIC password
Example a = "FRED"
b = oconv(a, 'u3060')

(b = "8F7D5A29")

a = "fred"
b = oconv(a, 'u3060')

(b = "D3575E89")
Warnings There is no User Exit to decrypt a string.

The accepted practice is to input a string, encrypt it, and compare the two encrypted values for a match.
Compatibility D3 7.0 AP OA/RT R83 3.1 R83 2.2
u28 Index Level u3079