← Back to home
Crypto

Hash & Encryption Toolkit

Cryptographic primitives at the edge

Compute hashes, HMAC signatures, bcrypt/Argon2 password hashes, and generate cryptographically-secure tokens — all in under 5ms at the network edge.

Base URL https://hash-encryption-toolkit.p.rapidapi.com
Auth X-RapidAPI-Key: YOUR_KEY
Format application/json
Coming soon on RapidAPI

Supported Algorithms

Algorithm Endpoint Output format Notes
md5 /v1/hash hex / base64 Fast, not collision-resistant
sha256 /v1/hash, /v1/hmac, /v1/verify hex / base64 Recommended for integrity checks
sha512 /v1/hash, /v1/hmac, /v1/verify hex / base64 Higher security margin than SHA256
blake3 /v1/hash, /v1/hmac, /v1/verify hex / base64 Fastest, modern, highly parallelizable
bcrypt /v1/hash, /v1/verify encoded string Password hashing, adaptive cost (cost=12)
argon2 /v1/hash, /v1/verify encoded string Password hashing, memory-hard (Argon2id)

Endpoints

POST /v1/hash

Compute a cryptographic hash (MD5, SHA256, SHA512, BLAKE3, bcrypt, Argon2)

Request body
{
  "algorithm": "sha256",
  "input": "hello world",
  "encoding": "hex"
}
Response 200
{
  "hash": "b94d27b9934d3e08a52e52d7da7dabfac484efe0...",
  "algorithm": "sha256",
  "encoding": "hex"
}
cURL example
curl -X POST https://hash-encryption-toolkit.p.rapidapi.com/v1/hash \
  -H "Content-Type: application/json" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: hash-encryption-toolkit.p.rapidapi.com" \
  -d '{"algorithm":"sha256","input":"hello world"}'
POST /v1/hmac

Generate an HMAC signature (SHA256, SHA512, BLAKE3)

Request body
{
  "algorithm": "sha256",
  "input": "hello",
  "key": "secret",
  "encoding": "hex"
}
Response 200
{
  "hmac": "88aab3ede8d3adf94d26ab90d3bafd4a...",
  "algorithm": "sha256"
}
cURL example
curl -X POST https://hash-encryption-toolkit.p.rapidapi.com/v1/hmac \
  -H "Content-Type: application/json" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: hash-encryption-toolkit.p.rapidapi.com" \
  -d '{"algorithm":"sha256","input":"hello","key":"secret"}'
POST /v1/verify

Verify a hash or password against a known value (timing-safe)

Request body
{
  "algorithm": "sha256",
  "input": "hello world",
  "hash": "b94d27b9934d3e08..."
}
Response 200
{
  "valid": true
}
cURL example
curl -X POST https://hash-encryption-toolkit.p.rapidapi.com/v1/verify \
  -H "Content-Type: application/json" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: hash-encryption-toolkit.p.rapidapi.com" \
  -d '{"algorithm":"bcrypt","input":"my-password","hash":"$2b$12$..."}'
POST /v1/token

Generate a cryptographically-secure random token (UUID, hex, base64)

Request body
{
  "type": "uuid"
}
Response 200
{
  "token": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "type": "uuid"
}
cURL example
curl -X POST https://hash-encryption-toolkit.p.rapidapi.com/v1/token \
  -H "Content-Type: application/json" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: hash-encryption-toolkit.p.rapidapi.com" \
  -d '{"type":"hex","length":32}'
GET /v1/health No auth required

Health check — no authentication required

Response 200
{
  "status": "ok"
}
cURL example
curl https://hash-encryption-toolkit.p.rapidapi.com/v1/health

Error Responses

All errors follow a flat JSON shape:

Error shape
{ "error": "<message>", "code": <http_status> }
Status Condition
401Missing or invalid X-RapidAPI-Proxy-Secret header
400Unsupported algorithm or invalid field value
422Malformed JSON request body
404Unknown route
500Internal server error

Try it now

Sign up on RapidAPI to get your API key and start hashing in minutes.

Coming soon on RapidAPI