Home / APIs / Crypto & Encoding Toolkit

Crypto & Encoding Toolkit API

Hashing, HMAC, Base64, UUID v4, secure password generation, and JWT decoding — one fast API.

Get it on RapidAPI ↗

The Crypto & Encoding Toolkit bundles the primitives developers reach for constantly — hashing (MD5/SHA-1/256/512), keyed HMAC, Base64 both ways, UUID v4 generation, secure random passwords, and JWT decoding — into one fast, stateless API.

It's backed by Node's native crypto: correct, fast, and dependency-free, with cryptographically secure randomness for UUIDs and passwords. Handy for webhooks, integrations, signing helpers, and quick debugging.

Endpoints

MethodPathDescription
GET/crypto/hash?text=&algo=MD5 / SHA-1 / SHA-256 / SHA-512 hash
POST/crypto/hmacKeyed HMAC (any supported algo)
GET/crypto/base64/encode | /decodeBase64 encode and decode
GET/crypto/uuid?count=Cryptographically random UUID v4s
GET/crypto/passwordSecure password generator (configurable)
POST/crypto/jwt/decodeDecode a JWT header & payload

Quick start

cURL (via RapidAPI)
curl --url 'https://crypto-encoding-toolkit.p.rapidapi.com/hash?text=hello&algo=sha256' \
  --header 'X-RapidAPI-Key: YOUR_KEY' \
  --header 'X-RapidAPI-Host: crypto-encoding-toolkit.p.rapidapi.com'
JavaScript (fetch)
const res = await fetch('https://crypto-encoding-toolkit.p.rapidapi.com/hash?text=hello&algo=sha256', {
  headers: {
    'X-RapidAPI-Key': 'YOUR_KEY',
    'X-RapidAPI-Host': 'crypto-encoding-toolkit.p.rapidapi.com'
  }
});
const data = await res.json();
Example response
{
  "algo": "sha256",
  "hash": "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824",
  "length": 5
}

Pricing

Subscribe on RapidAPI. Start free; upgrade as you scale.

Basic
Free
1,000 requests / mo
Pro
$5 / mo
100,000 requests / mo
Ultra
$20 / mo
1,000,000 requests / mo
Mega
$50 / mo
2,000,000 requests / mo

Frequently asked questions

Which hash algorithms are supported?

MD5, SHA-1, SHA-256, and SHA-512 — for both plain hashing (/crypto/hash) and keyed HMAC (/crypto/hmac).

Are the UUIDs and passwords cryptographically secure?

Yes. Both use Node's CSPRNG (crypto.randomUUID and crypto.randomInt), not Math.random.

Does the JWT endpoint verify signatures?

No — /crypto/jwt/decode decodes the header and payload for inspection only; it does not verify the signature.

Ready to build with Crypto & Encoding Toolkit?

Grab your key on RapidAPI and start on the free tier.

Get it on RapidAPI ↗