QuantumDesk pixel-art computer logo
QUANTUMDESK
Post-quantum crypto API · Solana launches · not audited
C:\\QUANTUM\\DOCS

API documentation

Generated from the endpoints that actually exist. Private keys and shared secrets are never returned.

endpoints.txt
GET/api/v1/healthLive self-test (ML-DSA-65 sign/verify, ML-KEM-768 roundtrip).available
GET/api/v1/algorithmsSupported algorithms and per-operation status.available
POST/api/v1/signatures/verify{ algorithm, message, signature, publicKey } (base64) → { valid }available
POST/api/v1/kem/encapsulate{ algorithm: "ML-KEM-768", publicKey } → { cipherText, sharedSecretFingerprint }available
POST/api/v1/keysCreate a server-held keyplanned
POST/api/v1/signatures/signSign with a server-held keyplanned
POST/api/v1/kem/decapsulateDecapsulate with a server-held keyplanned
GET/api/v1/usagePer-project usageplanned
errors_and_limits.txt
  • 400 INVALID_BODY — not JSON or over 64 KB
  • 400 VALIDATION_ERROR — unknown algorithm or non-base64 field
  • 400 INVALID_PUBLIC_KEY — wrong ML-KEM-768 key size (must be 1184 bytes)
  • 503 — health self-test failed
  • Every response carries a requestId (also in the x-request-id header).
  • Planned endpoints need API keys and encrypted key storage; they return nothing until built. No HSM is used. No independent audit has been done.
example.cURL
curl -X POST https://desktop95.fun/api/v1/signatures/verify \
  -H "Content-Type: application/json" \
  -d '{"algorithm":"ML-DSA-65","message":"aGVsbG8=","signature":"<b64>","publicKey":"<b64>"}'
example.JavaScript
import { ml_dsa65 } from "@noble/post-quantum/ml-dsa.js";
const b64 = (b) => btoa(String.fromCharCode(...b));
const { publicKey, secretKey } = ml_dsa65.keygen();
const msg = new TextEncoder().encode("hello");
const sig = ml_dsa65.sign(msg, secretKey);
const r = await fetch("/api/v1/signatures/verify", { method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ algorithm: "ML-DSA-65", message: b64(msg), signature: b64(sig), publicKey: b64(publicKey) }) });
console.log(await r.json()); // { valid: true, requestId, ms }
example.Python
import requests
r = requests.get("https://desktop95.fun/api/v1/algorithms")
print(r.json())