Hash Toolkit
The **Hash & Encryption Toolkit API** is a high-performance, edge-native microservice built to handle your application's cryptographic needs. Powered by Rust and WebAssembly running on global edge networks, it provides lightning-fast hashes, password encryption, and digital signatures without the overhead of heavy backend cryptographic libraries. Offload CPU-intensive operations like Argon2 and…
Hash Toolkit endpoints
| Method | Endpoint | Description |
|---|---|---|
| v1 | ||
| POST |
hashString /v1/hash |
Compute a cryptographic or password hash. For `bcrypt` and `argon2` the `encoding` field is ignored — output is always the full encoded hash string (e.g. `$2b$...` or… |
| GET |
health /v1/health |
Returns 200 if the Worker is running. No authentication required. |
| POST |
verifyHash /v1/verify |
Verify that a hash matches an input string using timing-safe comparison. For `bcrypt` and `argon2`, pass the full encoded hash string in the `hash` field (e.g. `$2b$12$...` or… |
| POST |
generateHmac /v1/hmac |
Generate an HMAC signature using a secret key. For `blake3` the key is derived via SHA-256 before use. |
| POST |
generateToken /v1/token |
Generate a cryptographically random token. `length` is the number of random bytes (not output string length), max 256. For `uuid` the `length` field is ignored. |
Hash Toolkit pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $5 / month | 50 / second |
|
| ULTRA | $15 / month | 50 / second |
|
| MEGA | $50 / month | 500 / second |
|