Skip to main content

Decrypt an encrypted string (string.aes128_decrypt)

Declaration

data = string.aes128_decrypt(encrypted, key)

Parameters

  • encrypted
    string. Encrypted string (or binary data).
  • key
    string. The password.

Returns

  • data
    string. Decrypted string (or binary data).

Description

Decrypt data encrypted by AES128 algorithm in ECB mode.
Note: AES128 ECB mode has no iv (initialization vector). If an integration requires an iv field, use 0.

Example

At the end of this chapter