Skip to content

Crypto#

Use the Crypto node to encrypt data in workflows.

Actions#

Node parameters#

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.

Templates and examples#

Send a ChatGPT email reply and save responses to Google Sheets

by n8n Team

View template details
Crypto Market Alert System with Binance and Telegram Integration

by Nskha

View template details
Build a self-hosted URL shortener with a dashboard

by mohamed ali

View template details
Browse Crypto integration templates, or search all templates