Crypto Toolkit
Perform one cryptographic or encoding operation (hash, HMAC sign or verify, Base64, JWT, URL encode or decode, AES encrypt or decrypt, secure random string or password) without custom scripting.
Step library location: Logic
Operations
Section titled “Operations”- Hash: Hashes Input with SHA-256 (default) or SHA-512. SHA-1 and MD5 are offered for older systems only, as they are no longer secure.
- HMAC Sign: Signs Input with the secret in Secret Name, using HmacSHA256 or HmacSHA512.
- HMAC Verify: Signs Input the same way and compares the result with Signature. Stores
trueorfalse. A mismatch does not fail the step, so follow it with a Conditional Branch. - Base64 Encode and Base64 Decode: Convert Input to or from Base64, with the Standard or URL-safe alphabet. Decode fails on input that isn’t valid Base64.
- JWT Encode: Creates a signed token from Payload, a JSON object of claims such as
{"sub":"123","role":"admin"}. - JWT Decode: Reads Token without checking its signature and stores
{"header":{...},"payload":{...}}. Use JWT Verify when the token’s origin matters. - JWT Verify: Checks the signature of Token, plus its expiry and other time claims, and stores the payload as JSON. If the check fails, the step fails.
- URL Encode and URL Decode: Convert Input to or from URL query-string encoding. Spaces become
+and back. - AES Encrypt: Encrypts Input with AES Mode GCM (recommended) or CBC. Stores Base64 text with the random IV at the front (12 bytes for GCM, 16 for CBC).
- AES Decrypt: Decrypts Base64 Input produced by AES Encrypt, using the same secret and AES Mode.
- Secure Random String: Generates a random string of Length characters from Alphabet.
- Secure Random Password: Generates a password of Length characters with at least one uppercase letter, one lowercase letter, one digit and one special character from
!@#$%^&*()-_=+[]{}.
When to use it
Section titled “When to use it”- Verifying the signature on a webhook a partner sends you.
- Creating or checking a JSON Web Token (JWT) for an API call.
- Encoding values for a URL or Base64, or generating a random password or token.
Input Configuration
Section titled “Input Configuration”| Field | Type | Need | Default | Notes |
|---|---|---|---|---|
| Operation | Dropdown Selector | Required | Hash | String (enum). Options: Hash, HMAC Sign, HMAC Verify, Base64 Encode, Base64 Decode, JWT Encode, JWT Decode, JWT Verify, URL Encode, URL Decode, AES Encrypt, AES Decrypt, Secure Random String, Secure Random Password |
| Input | Auto-complete param expression field | Optional | None | String (UTF-8). Shown for Hash, HMAC, Base64, URL and AES operations. The encoded text for Base64 Decode and AES Decrypt, otherwise the plain text. Blank is treated as empty text. |
| Secret Name | Auto-complete param expression field | Optional | None | String (secret name). Shown for HMAC Sign, HMAC Verify, JWT Encode, JWT Verify, AES Encrypt and AES Decrypt, and required there. The name of a stored secret, never the key itself. For RS256 the secret holds a PEM key. |
| Hash Algorithm | Dropdown Selector | Optional | SHA-256 | String (enum). Options: SHA-256, SHA-512, SHA-1 (weak), MD5 (weak). Shown for Hash. |
| HMAC Algorithm | Dropdown Selector | Optional | HmacSHA256 | String (enum). Options: HmacSHA256, HmacSHA512. Shown for HMAC Sign and HMAC Verify. |
| JWT Algorithm | Dropdown Selector | Optional | HS256 | String (enum). Options: HS256, HS512, RS256. Shown for JWT Encode and JWT Verify. HS256 and HS512 use the secret as a shared key. RS256 needs an RSA private key in PKCS#8 PEM format to encode and an RSA public key in X.509 PEM format to verify. |
| AES Mode | Dropdown Selector | Optional | GCM (recommended) | String (enum). Options: GCM (recommended), CBC (weak). Shown for AES Encrypt and AES Decrypt. CBC has no protection against tampering. |
| Encoding | Dropdown Selector | Optional | Hex | String (enum). Options: Hex, Base64. Shown for Hash, HMAC Sign and HMAC Verify. The format of the digest or signature. |
| Base64 Variant | Dropdown Selector | Optional | Standard | String (enum). Options: Standard, URL-safe. Shown for Base64 Encode and Base64 Decode. |
| Signature | Auto-complete param expression field | Optional | None | String (Hex or Base64). Shown for HMAC Verify. The expected signature, in the chosen Encoding. A signature that isn’t valid in that Encoding fails the step. |
| Payload | Auto-complete param expression field | Optional | None | JSON object. Shown for JWT Encode. The token’s claims. A whole-number claim too large for a 64-bit integer fails the step. |
| Token | Auto-complete param expression field | Optional | None | String (JWT). Shown for JWT Decode and JWT Verify. |
| Length | Static input field | Optional | 32 | Integer. Shown for Secure Random String and Secure Random Password. 1 to 4,096 characters. Passwords need at least 4. |
| Alphabet | Static input field | Optional | None | String. Shown for Secure Random String. The characters to draw from. Blank uses A-Z, a-z and 0-9. |
Output Configuration
Section titled “Output Configuration”| Field | Type | Need | Default | Notes |
|---|---|---|---|---|
| Output Parameter: Result | Static/Dynamic Parameter Field | Required | CryptoResult | String. Always text: a digest or signature, true or false for HMAC Verify, a token, decoded JSON, Base64 or URL text, ciphertext or plain text, or the generated string. |
Choose an Operation first. The step then shows only the fields that operation needs.
Operations that need a key (HMAC Sign, HMAC Verify, JWT Encode, JWT Verify, AES Encrypt and AES Decrypt) never take the key itself. Secret Name holds the name of a stored secret instead. The secret’s value is read when the step runs and is never written to logs. For AES, the 256-bit key is the SHA-256 hash of the secret’s value, so another system can decrypt the output if it derives the key the same way.
Example: a partner signs each webhook it sends you. Use HMAC Verify with the request body as Input, the name of the shared signing secret as Secret Name and the signature header as Signature, then send the Process down a Conditional Branch based on the result.
Generated from step metadata (src/data/process-steps.json). Edit the metadata, not this page.