Search

 

Module:Editor

Version:23.03 +

Type:String

Category:Text

 

Description

The formula 'EncryptString' encrypts a string to an encrypted text string. There are currently 3 available encryption methods: Rijndael, RSA and AES. By using the Rijndael and AES encryption, you must fill in 2 fields: password and salt for encryption. By using RSA encryption, you must fill in 3 fields: password, certificate reference and RSA padding. With the formula 'DecryptString' it is possible to decrypt the encrypted string.

Parameters

EncryptionMethod:

The encryption method. Currently available method are: Rijndael, RSA, AES.

String:

The string you want to encrypt.

Password:

The password for encryption. Required for Rijndael and RSA.

Salt:

The salt for encryption. Required for Rijndael.

Certificate:

A reference to a certificate. Required for RSA method. The certificate should be provided in the following format: {'FindValue':'MyCertificate','StoreName':'My','StoreLocation':'LocalMachine','X509FindType':'FindBySubjectName'}

Rsa Padding:

The rsa encryption padding. Required for RSA. By default, if empty, the padding will be "Pkcs1". For more information, see the link below to the Rsa padding documentation.

Related Topics

- DecryptString

External Links

- Rijndael Encryption

- Rsa padding

Updated: 2023-04-06