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.
action_crypto · action · Utility · Available · v1.0.0
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.
Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
operationOperazione | enumhashhmachmac-verifyencodedecoderandom | yes | hash | hash = digest one-way · hmac = firma con chiave · hmac-verify = verifica firma webhook (timing-safe) · encode/decode = base64/hex · random = bytes sicuri. |
valueValore in ingresso | expression | no | input | Testo o espressione da elaborare. Vuoto = usa l'input del nodo. |
algorithmAlgoritmo | enumsha256sha512sha384sha1md5 | no | sha256 | SHA-256 raccomandato. MD5/SHA-1 solo per compatibilità legacy (NON sicuri per firme). |
keyChiave segreta (HMAC) | string (encrypted) | no | — | Il signing secret (es. webhook secret di Stripe/GitHub). Mai committare in chiaro. |
expectedFirma attesa (da verificare) | expression | no | — | La firma ricevuta (es. header X-Hub-Signature-256 / Stripe-Signature) da confrontare a tempo costante. Nella stessa codifica dell'output (hex/base64). |
encodingCodifica output | enumhexbase64 | no | hex | — |
targetFormatCodifica destinazione | enumbase64base64urlhex | no | base64 | — |
sourceFormatCodifica sorgente | enumbase64base64urlhex | no | base64 | — |
bytesNumero di byte | number | no | 32 | Quanti byte casuali generare (1-1024). 32 = 256 bit, standard per secret/token. |
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
}
}Available now on all FlowForge plans. Try it free without a credit card.
Start freeBrowse all nodes