Crypto

action_crypto · action · Utility · Available · v1.0.0

Description

Cryptographic Swiss-army knife built solely on node:crypto (zero external dependencies): hash, HMAC, encrypt/decrypt, random bytes and base64 — five dropdown operations for data integrity, authentication and encoding.

⚙️ Configuration parameters

Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.

FieldTypeRequiredDefaultDescription
operation
Operazione
enum
hashhmachmac-verifyencodedecoderandom
yeshashhash = digest one-way · hmac = firma con chiave · hmac-verify = verifica firma webhook (timing-safe) · encode/decode = base64/hex · random = bytes sicuri.
value
Valore in ingresso
expressionnoinputTesto o espressione da elaborare. Vuoto = usa l'input del nodo.
algorithm
Algoritmo
enum
sha256sha512sha384sha1md5
nosha256SHA-256 raccomandato. MD5/SHA-1 solo per compatibilità legacy (NON sicuri per firme).
key
Chiave segreta (HMAC)
string (encrypted)noIl signing secret (es. webhook secret di Stripe/GitHub). Mai committare in chiaro.
expected
Firma attesa (da verificare)
expressionnoLa firma ricevuta (es. header X-Hub-Signature-256 / Stripe-Signature) da confrontare a tempo costante. Nella stessa codifica dell'output (hex/base64).
encoding
Codifica output
enum
hexbase64
nohex
targetFormat
Codifica destinazione
enum
base64base64urlhex
nobase64
sourceFormat
Codifica sorgente
enum
base64base64urlhex
nobase64
bytes
Numero di byte
numberno32Quanti byte casuali generare (1-1024). 32 = 256 bit, standard per secret/token.

💡 Configuration example

JSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.

{
  "id": "node-action_crypto-1",
  "defId": "action_crypto",
  "label": "Crypto",
  "config": {
    "operation": "hash",
    "value": "input",
    "algorithm": "sha256",
    "encoding": "hex",
    "targetFormat": "base64",
    "sourceFormat": "base64",
    "bytes": 32
  }
}

🔗 Related nodes in the same category

Ready to use Crypto?

Available now on all FlowForge plans. Try it free without a credit card.

Start freeBrowse all nodes