Function The Encrypt function encrypts the content of a variable and stores it back in the same variable. The content can be decrypted using the Decrypt function with the same key.
Example Encrypt V[line] key="cpM7Xz"

This encrypts the content of the variable V[line] with the key cpM7Xz.

Encrypt V[line] certificateThumbprint="f6142fc4a8a6e6975610aba5288aa370de665f32"

Encryption takes place via a personal certificate with the thumbprint “f6142fc4...”.

Format Encrypt V[varname] key="mykey"
Encrypt
text[textname] key="mykey"

This encrypts the content of the variable V[varname] or the long text text[textname] with the specified key.

Encrypt V[varname] certificateThumbprint="thumbprint"
Encrypt
text[textname] certificateThumbprint="thumbprint"

A valid personal certificate with the specified thumbprint is searched for on the PC and checked to ensure that the certificate has a private key. Encryption is performed using the certificate.

  • The encryption is symmetric, meaning the same key is used for both encryption and decryption.
  • It is encrypted with AES-256
  • The encrypted content consists only of lowercase letters a to z.
  • The size of the encrypted content is double the size of the unencrypted content plus a fixed portion of about 40 characters.
  • The encryption produces different results for the same content and key each time.
Options to=V[varname2]
to=
text[textname2]

The result is placed in the specified variable or text variable.
Components GuiXT + InputAssistant