WAEncrypt

Returns a source string encoded with specified key.

Syntax

function WAEncrypt(aText: string; aKey: string): string;

Parameters

  • aText
    • type: string
    • functions: source string
  • aKey
    • type: string
    • functions: encryption key

Returned value

  • type: string
  • functions: encoded string

Notes

  • Encription based on Rijndael
  • PHP implementation of the method can be found with link

Examples

  1. var enc := WAEncrypt('source text', 'pass');
    //enc = '561O6/EJRDYXWZoN|f+xhfzFP6mOO1DpcrWHWNg=='