Equinox Online Help - Language Reference - A to Z
TEADecode |
|
---|---|
Applies to | |
Syntax | TEADecode ciphertextMemo,plaintextMemo |
Action | This statement uses the XTEA encryption algorithm to decode ciphertextMemo, and returns the result in plaintextMemo. |
Scope | |
Notes | It can only decode something which has been encoded using TEAEncode. If an error occurs, SysError is set to a nonzero value. |
Category | Encryption |
See Also | Base64Encode, Base64Decode, TEAEncode, TEASetup |
Example | This example decodes the memo field secretsEncoded filled by the Base64Encode example. It then puts the decoded memo in SecretsDecoded. NB. TEASetup has already been activated automatically on login. TEADecode SecretsEncoded,SecretsDecoded |