Crypto#
Use the Crypto node to encrypt data in workflows.
Actions#
- Generate a random string
- Hash a text or file in a specified format
- Hmac a text or file in a specified format
- Sign a string using a private key
Node parameters#
This node can be used as an AI tool
This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.
Node parameters depend on the action you select.
Generate parameters#
- Property Name: Enter the name of the property to write the random string to.
- Type: Select the encoding type to use to generate the string. Choose from:
- ASCII
- BASE64
- HEX
- UUID
Hash parameters#
- Type: Select the hash type to use. Choose from:
- MD5
- SHA256
- SHA3-256
- SHA3-384
- SHA3-512
- SHA385
- SHA512
- Binary File: Turn this parameter on if the data you want to hash is from a binary file.
- Value: If you turn off Binary File, enter the value you want to hash.
- Binary Property Name: If you turn on Binary File, enter the name of the binary property that contains the data you want to hash.
- Property Name: Enter the name of the property you want to write the hash to.
- Encoding: Select the encoding type to use. Choose from:
- BASE64
- HEX
Hmac parameters#
- Binary File: Turn this parameter on if the data you want to encrypt is from a binary file.
- Value: If you turn off Binary File, enter the value you want to encrypt.
- Binary Property Name: If you turn on Binary File, enter the name of the binary property that contains the data you want to encrypt.
- Type: Select the encryption type to use. Choose from:
- MD5
- SHA256
- SHA3-256
- SHA3-384
- SHA3-512
- SHA385
- SHA512
- Property Name: Enter the name of the property you want to write the hash to.
- Secret: Enter the secret or secret key used for decoding.
- Encoding: Select the encoding type to use. Choose from:
- BASE64
- HEX
Sign parameters#
- Value: Enter the value you want to sign.
- Property Name: Enter the name of the property you want to write the signed value to.
- Algorithm Name or ID: Choose an algorithm name from the list or specify an ID using an expression.
- Encoding: Select the encoding type to use. Choose from:
- BASE64
- HEX
- Private Key: Enter a private key to use when signing the string.