CSM Quantum-Safe Cryptography API

Base URL: https://tikkunolam.today

Post-quantum cryptography: ML-KEM-768 + X25519 hybrid key exchange, AES-256-GCM encryption, 9-level Mandala security layers.

🛒 Buy Monthly Access — $29 🛒 Buy Yearly — $299

Authentication

Pass your API key in the x-api-key header or as Authorization: Bearer <key>.

Key format: csm_live_xxxxxxxx (production) or csm_test_xxxxxxxx (sandbox).

Get a free key instantly: POST /signup/free

Quickstart — curl

1. Get a Free API Key

curl -s -X POST https://tikkunolam.today/signup/free \
  -H "Content-Type: application/json" \
  -d '{"email": "[email protected]"}'

2. Generate Keys

curl -s -X POST https://tikkunolam.today/keys/generate \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_CSM_API_KEY" \
  -d '{"key_type": "hybrid", "label": "my-first-key"}'

3. Encrypt Data

curl -s -X POST https://tikkunolam.today/encrypt \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_CSM_API_KEY" \
  -d '{"plaintext": "Hello quantum-safe world!", "key_type": "hybrid", "label": "my-first-key"}'

4. Decrypt Data

curl -s -X POST https://tikkunolam.today/decrypt \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_CSM_API_KEY" \
  -d '{"ciphertext": "<ciphertext_from_encrypt>", "key_type": "hybrid", "label": "my-first-key"}'

Python Example

import requests

API_KEY = "YOUR_CSM_API_KEY"
BASE = "https://tikkunolam.today"

# Get a free key
r = requests.post(f"{BASE}/signup/free", json={"email": "[email protected]"})
print(r.json())

# Generate keys
r = requests.post(f"{BASE}/keys/generate",
    headers={"x-api-key": API_KEY},
    json={"key_type": "hybrid", "label": "python-demo"})
key_data = r.json()
print(f"Key ID: {key_data['key_id']}")

# Encrypt
r = requests.post(f"{BASE}/encrypt",
    headers={"x-api-key": API_KEY},
    json={
        "plaintext": "Sovereign data, your rules.",
        "key_type": "hybrid",
        "label": "python-demo"
    })
encrypted = r.json()
print(f"Ciphertext: {encrypted['ciphertext'][:50]}...")

# Decrypt
r = requests.post(f"{BASE}/decrypt",
    headers={"x-api-key": API_KEY},
    json={
        "ciphertext": encrypted['ciphertext'],
        "key_type": "hybrid",
        "label": "python-demo"
    })
print(f"Decrypted: {r.json()['plaintext']}")

JavaScript Example

const API_KEY = 'YOUR_CSM_API_KEY';
const BASE = 'https://tikkunolam.today';

async function csmDemo() {
  // Generate keys
  const keys = await fetch(`${BASE}/keys/generate`, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json', 'x-api-key': API_KEY },
    body: JSON.stringify({ key_type: 'hybrid', label: 'js-demo' })
  }).then(r => r.json());
  console.log('Key ID:', keys.key_id);

  // Encrypt
  const enc = await fetch(`${BASE}/encrypt`, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json', 'x-api-key': API_KEY },
    body: JSON.stringify({
      plaintext: 'Quantum-safe from JavaScript!',
      key_type: 'hybrid',
      label: 'js-demo'
    })
  }).then(r => r.json());
  console.log('Ciphertext:', enc.ciphertext.substring(0, 50) + '...');

  // Decrypt
  const dec = await fetch(`${BASE}/decrypt`, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json', 'x-api-key': API_KEY },
    body: JSON.stringify({
      ciphertext: enc.ciphertext,
      key_type: 'hybrid',
      label: 'js-demo'
    })
  }).then(r => r.json());
  console.log('Decrypted:', dec.plaintext);
}

csmDemo();

Tier Pricing

Tier Price Daily Limit Rate Limit (RPM) Features
Free $0 100 calls/day 10 RPM Basic encrypt/decrypt
Pro Monthly $29/mo 10,000 calls/day 100 RPM All layers, audit, keygen
Pro Yearly $299/yr 10,000 calls/day 100 RPM All layers, audit, keygen
Enterprise Custom Unlimited 1000+ RPM Dedicated infra, SLA, support

Endpoints

Health & Status GET

/health
/status

Server health check and system status.

Generate Keys POST

/keys/generate

Generate quantum-safe key pairs (hybrid, ML-KEM only, or 9-level Mandala).

Encrypt POST

/encrypt

Encrypt data with quantum-safe algorithms. Supports binary, qubit, qutrit layers.

Decrypt POST

/decrypt

Decrypt data previously encrypted via CSM API.

Audit GET

/audit

Get security audit report for your encryption activity.

Free Signup POST

/signup/free

Get a free API key instantly — no payment required.

Webhooks

POST /webhooks/gumroad — Gumroad purchase fulfillment
POST /webhooks/stripe — Stripe payment webhook
Already deployed, already quantum-safe.
The CSM API is live right now at tikkunolam.today. Get your key and start encrypting in 5 minutes.

→ Buy Pro Monthly ($29)
→ Buy Pro Yearly ($299)