Crypto Toolkit API

Hash, encrypt, decrypt, encode, decode — all in one API. MD5 to AES-256, Base64 to URL encoding. Your complete crypto utility.

6 Actions
Hash/Encrypt/Decrypt/Encode/Decode/Verify
<50ms
Response
AES-256
Encryption

How It Works

Step 1
Choose Action
Hash, encrypt, decrypt, encode, decode, or verify
Step 2
Pick Algorithm
SHA256, AES-256-GCM, Base64, bcrypt, and more
Step 3
Get Result
Receive processed output instantly as JSON

Playground

3 free requests/day without API key

Choose an action and click Execute

API Documentation

Base URL
https://crypto-toolkit-pied.vercel.app
Authentication
X-API-Key: your_key (header) or ?key=your_key (query)Get your free key below
POST/api/crypto

Perform cryptographic operations: hash, encrypt, decrypt, encode, decode, or verify.

Request Body (JSON)

// Hash
{ "input": "hello", "action": "hash", "algorithm": "sha256" }

// Encrypt (AES-256-GCM)
{ "input": "secret data", "action": "encrypt", "algorithm": "aes-256-gcm", "key": "my-key" }

// Decrypt
{ "input": "base64-ciphertext", "action": "decrypt", "algorithm": "aes-256-gcm", "key": "my-key" }

// Encode
{ "input": "hello world", "action": "encode", "algorithm": "base64" }

// Decode
{ "input": "aGVsbG8gd29ybGQ=", "action": "decode", "algorithm": "base64" }

// Verify bcrypt
{ "input": "hello", "action": "verify", "algorithm": "bcrypt", "hash": "$2a$10$..." }

Actions & Algorithms

hash:    md5, sha1, sha256, sha512, bcrypt, hmac-sha256, hmac-sha512
encrypt: aes-256-gcm
decrypt: aes-256-gcm
encode:  base64, base64url, hex, url, html
decode:  base64, base64url, hex, url, html
verify:  bcrypt, hmac-sha256, hmac-sha512

Response

{
  "action": "hash",
  "algorithm": "sha256",
  "input": "hello world",
  "output": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9",
  "length": 64
}

Error Responses

// 400 — Bad Request
{ "error": "Missing 'input' field" }
{ "error": "Invalid action. Valid: hash, encrypt, decrypt, encode, decode, verify" }

// 401 — Unauthorized
{ "error": "Invalid API key" }

// 429 — Rate Limited
{ "error": "Daily limit reached. Upgrade your plan." }

Get API Key

Get a free API key for 6 requests/day. No credit card required.

Usage

  • Add header: X-API-Key: your_key
  • Or query param: ?key=your_key

Limits

  • Playground (no key): 3 req/day
  • Free tier (with key): 6 req/day
  • Paid plans: see pricing below

Pricing

Start free. Pay only when you need more.

Free
$0
  • 6 requests/day
  • All algorithms
  • 100KB input
Starter
🚀 Launch Price
$12$5/mo
  • 500 requests/day
  • All algorithms
  • Priority
Business
🚀 Launch Price
$59$29/mo
  • 20,000 requests/day
  • All algorithms
  • Priority support