Equinox Online Help - Language Reference - A to Z

Home

TEAEncode

Applies to
SyntaxTEAEncode plaintextMemo, ciphertextMemo
ActionThis statement uses the XTEA encryption algorithm to encode plaintextMemo, and returns the result in ciphertextMemo.
Scope
Notes

If an error occurs, SysError is set to a nonzero value.

CategoryEncryption
See Also Base64Encode, Base64Decode, TEADecode, TEASetup
Example

This example encodes the memo field Secrets. It then puts the encoded memo in SecretsEncoded.

NB. TEASetup has already been activated automatically on login.

TEAEncode Secrets,SecretsEncoded
SaveRecord