Hash and encrypt
14 commands. Toolkit id ooa.crypto.
| Command | What it does |
|---|---|
| Base64 decode | Decode Base64 into text. |
| Base64 encode | Encode text as Base64. |
| Decrypt file | Decrypt a file produced by Encrypt file. |
| Decrypt text | Decrypt text produced by Encrypt text. |
| Encrypt file | Encrypt a file with AES-256 into a new file. |
| Encrypt text | Encrypt text with AES-256 using a passphrase from the vault; returns Base64. |
| Generate RSA key pair | Create public.pem and private.pem in a folder; keep the private key protected. Existing keys stop the step, or are replaced or kept as a backup (key rotation). |
| Hash file | Return the hex hash of a file, e.g. to verify a download. |
| Hash text | Return the hex hash of a text (UTF-8). |
| HMAC signature | Compute an HMAC-SHA256 signature with a secret key from the vault, e.g. to sign or verify webhooks. |
| RSA decrypt text | Decrypt Base64 text encrypted with the matching public key. |
| RSA encrypt text | Encrypt a short text (up to about 300 characters) with a public key (RSA-OAEP SHA-256); returns Base64. |
| RSA sign | Sign text with a private key (SHA256withRSA); returns a Base64 signature. |
| RSA verify | Check an RSA signature with the public key; returns the result instead of failing. |