Convert and format values
Encrypt or sign
HMAC signatures, JSON Web Tokens, AES-GCM encryption and TOTP codes.
Nodes › SecurityOpen in Neblex
- Good for
- Signing and protecting values
- Role
- Works on the records in a flow
- Find it in
- Nodes › Security
When to use it
- A partner requires a signed request or an HMAC over the body.
- A JSON Web Token must be created or checked.
- A value must be encrypted before it is stored or sent.
Reach for something else when
PGPWhen files are exchanged with PGP keys.Secure messageWhen XML documents or S/MIME mail must be signed or encrypted.
Example
Sign each outgoing payload with HMAC-SHA256 and send the signature in a header the partner verifies.
How it works
- Settings
- Action: HMAC sign or verify (SHA-256, SHA-512 or SHA-1), Create or Verify JSON Web Token (Algorithm HS, RS, PS, ES or EdDSA, never
none; Claims; Audience and Issuer), Encrypt or Decrypt (AES-GCM), TOTP code; Field; Write to; Key connection: an HMAC, symmetric or signing key connection to match. - Output
- The signature, token, verification result, ciphertext, plaintext or code. Decrypted text is passed on only after its tag verifies; a token is verified with its signature, expiry, audience and issuer.
Add it to a flow
- Open the flow from Build › Workflows.
- Open Nodes and find Encrypt or sign under Security, or search for it. Click it or drag it onto the canvas.
- Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
- Run the flow and click the step to see the records it received and produced.
More in Convert and format values
Hash valueCreates a SHA-256 or SHA-512 fingerprint of a field, or a signature with your key.Nodes › DataFormat dateReformats a date or time into the pattern a system expects.Nodes › DataConvert JSONConverts between records and JSON, CSV or XML text.Nodes › DataScrape websiteExtracts values from HTML with CSS selectors.Nodes › DataRender markdownTurns Markdown into safe HTML.Nodes › DataEncodeEncodes or decodes text (base64, URL, hex, HTML, character sets) or gives each record a stable id.Nodes › Transform