Open Cipher API ยท Free for Students

Encrypt anything.
Learn everything.

The Franckate Cipher API turns any text into a structured ciphertext you can decode by hand. Perfect for learning cryptography โ€” one API call shows you exactly how it works.

plaintext Hello
โ†’
franckated U7.L4.L11.L11.L14.
quickstart.py
import requests

API_KEY = "your_api_key_here"
BASE    = "https://franckate-backend.onrender.com/api"

# Encrypt
res = requests.post(
    f"{BASE}/encrypt",
    headers={"X-API-Key": API_KEY},
    json={"text": "Hello World"}
)

data = res.json()
print(data["encrypted"])
# โ†’ U7.L4.L11.L11.L14.F26.U22.L14.L17.L11.L3.

How the cipher works

Franckate is a substitution cipher. Every character maps to a category prefix + its position in that category. Dot-separated. Human-readable. Teachable.

U
Uppercase
A โ†’ U0. ยท B โ†’ U1. ยท Z โ†’ U25.
L
Lowercase
a โ†’ L0. ยท e โ†’ L4. ยท z โ†’ L25.
D
Digits
0 โ†’ D0. ยท 5 โ†’ D5. ยท 9 โ†’ D9.
F
Symbols & Space
! โ†’ F0. ยท space โ†’ F26. ยท ? โ†’ F20.
Decode this by hand
U7.L4.L11.L11.L14.F26.F20.
Show answer
U7 = H ยท L4 = e ยท L11 = l ยท L11 = l ยท L14 = o ยท F26 = (space) ยท F20 = ?
โ†’ "Hello ?"

API Reference

All endpoints accept JSON bodies and return JSON. Authenticate with your API key in the X-API-Key header.

Base URL https://franckater-backend.onrender.com
POST /api/encrypt ๐Ÿ”‘ API Key

Encrypt any plaintext string using the Franckate cipher.

{
  "text": "Hello World"
}
FieldTypeRequiredDescription
textstringYesPlaintext to encrypt (max 10,000 chars)
{
  "original":  "Hello World",
  "encrypted": "U7.L4.L11.L11.L14.F26.U22.L14.L17.L11.L3.",
  "length": {
    "input":  11,
    "output": 42
  },
  "algorithm": "franckate-v1"
}
curl -X POST https://franckater-backend.onrender.com/api/encrypt \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"text": "Hello World"}'
import requests

response = requests.post(
    "https://franckater-backend.onrender.com/api/encrypt",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={"text": "Hello World"}
)
data = response.json()
print(data["encrypted"])
const response = await fetch(
  "https://franckater-backend.onrender.com/api/encrypt",
  {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
      "X-API-Key": "YOUR_API_KEY"
    },
    body: JSON.stringify({ text: "Hello World" })
  }
);
const data = await response.json();
console.log(data.encrypted);
POST /api/decrypt ๐Ÿ”‘ API Key

Decrypt Franckate ciphertext back to plaintext.

{
  "text": "U7.L4.L11.L11.L14."
}
{
  "original":  "U7.L4.L11.L11.L14.",
  "decrypted": "Hello",
  "algorithm": "franckate-v1"
}
curl -X POST https://franckater-backend.onrender.com/api/decrypt \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"text": "U7.L4.L11.L11.L14."}'
POST /api/encrypt/steps ๐Ÿ”‘ API Key Educational

Returns a character-by-character breakdown of the encryption process. Perfect for building cryptography tutorials.

{
  "original":  "Hi",
  "encrypted": "U7.L8.",
  "total_steps": 2,
  "steps": [
    {
      "position":            0,
      "character":           "H",
      "category":            "uppercase",
      "category_code":       "U",
      "index_in_category":   7,
      "token":               "U7.",
      "explanation":  "'H' is uppercase at index 7 โ†’ 'U7.'"
    },
    ...
  ]
}
POST /api/batch/encrypt ๐Ÿ”‘ API Key

Encrypt up to 50 strings in a single request.

{
  "texts": ["Hello", "World", "Crypto"]
}
{
  "count": 3,
  "algorithm": "franckate-v1",
  "results": [
    { "index": 0, "original": "Hello", "encrypted": "U7.L4.L11.L11.L14." },
    { "index": 1, "original": "World", "encrypted": "U22.L14.L17.L11.L3." },
    { "index": 2, "original": "Crypto", "encrypted": "U2.L17.L24.L15.L19.L14." }
  ]
}
POST /api/analyze ๐Ÿ”‘ API Key

Analyze the character distribution of a text before encrypting โ€” great for understanding cipher expansion ratios.

{
  "analysis": {
    "length": 11,
    "unique_characters": 8,
    "counts": { "uppercase": 2, "lowercase": 8, "digits": 0, "special": 1 },
    "percentages": { "uppercase": 18.2, "lowercase": 72.7, ... }
  }
}
GET /api/info Public

Returns API metadata โ€” no key required. Good for discovery and health checks.

Error codes

StatusMeaning
400Missing or invalid request body
401No API key provided
403Invalid or inactive API key
409Email already registered
413Input too long
422Decryption failed โ€” invalid ciphertext format
429Rate limit exceeded

Live Playground

Test the API directly โ€” paste your API key below and start encrypting.

Encrypt Decrypt Steps Batch
0 chars
Enter your API key above to start
Output
Results will appear here

Get your API key

Free for students, educators, and hobbyists. No credit card needed.

Rate limits

500
encrypt/decrypt per hour
100
batch requests per hour
200
steps/analyze per hour
10k
max chars per request