Skip to content

Crypto

Node: crypto · Full type: n8n-nodes-base.crypto · Version: 2

Credentials

crypto (alias: @crypto)

CREDENTIAL @crypto = crypto "My Crypto"

Parameters

Parameter Type Default Details
action options "hash" generate, hash, hmac, sign
binaryData boolean false required
binaryPropertyName string "data" required
type options "SHA256" required; MD5, SHA256, SHA3-256, SHA3-384, SHA3-512, SHA384, SHA512
value string "" required
dataPropertyName string "data" required
encoding options "hex" required; base64, hex
algorithm options "" required; RSA-MD5, RSA-RIPEMD160, RSA-SHA1, RSA-SHA1-2, RSA-SHA224, RSA-SHA256, RSA-SHA3-224, RSA-SHA3-256, ... (52 total)
encodingType options "uuid" required; ascii, base64, hex, uuid
stringLength number 32

Example

NODE "crypto" @crypto AS "Crypto" {
  binaryPropertyName: {{ $json.binaryPropertyName }},
  value: {{ $json.value }},
  dataPropertyName: {{ $json.dataPropertyName }}
}