The u3060 user exit encrypts a character string. The result is always an 8-character hexadecimal string.
Syntax
result = oconv(var, ’u3060’) |
Description
This is the same user exit called by the password program.
NOTE |
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.
Example(s)
a = "FRED" b = oconv(a, ’u3060’) (b = 8F7D5A29) a = "fred" b = oconv(a, ’u3060’) (b = D3575E89) |
See Also