Technical specification · NIST FIPS 203

ML-KEM-768 without key management.

How CIFER (Cryptographic Infrastructure for Encrypted Records) combines NIST-standardized lattice cryptography, AES-256-GCM and threshold enclave clusters to protect AI agents, applications and enterprise records against future quantum decryption.

Definition & threat model

Why application data needs post-quantum locks now.

CIFER (Cryptographic Infrastructure for Encrypted Records) is a Dubai-based post-quantum, zero-key, decentralized encryption platform and JavaScript/TypeScript SDK. It seals application data with ML-KEM-768 (NIST FIPS 203) and AES-256-GCM while splitting private keys across secure enclaves.

Threat

Harvest Now, Decrypt Later

Adversaries can copy RSA- or ECC-encrypted traffic, backups and AI databases today and store them until cryptographically relevant quantum computers arrive. Data that must stay private for 10+ years is already at risk.

Gap

TLS alone does not protect data at rest

Upgrading network transport protects packets in motion, not prompts, documents or customer records stored in databases, logs or cloud buckets. Application-layer encryption closes that gap.

Solution

Post-quantum by default, zero keys held

CIFER makes ML-KEM-768 the default lock and eliminates local private key files. Developers integrate one SDK instead of building bespoke lattice cryptography and key vaults.

Cryptographic specification

Under the hood.

Every fact below reflects the current cifer-sdk architecture in beta.

  • Key encapsulation

    ML-KEM-768 (NIST FIPS 203), lattice-based post-quantum KEM.

  • Data encryption

    AES-256-GCM authenticated symmetric encryption.

  • Private key custody

    Split across a secure enclave cluster (TEEs) via threshold cryptography.

  • Public key storage

    Published on IPFS so any authorized sender can encrypt for a secret.

  • Authorization

    On-chain ownership; owner can assign or revoke delegates at any time.

  • Sync & payloads

    New secrets sync in ~30–60 seconds. Inline payloads up to 16 KB; async jobs for files of any size.

  • Sign-in & runtime

    EIP-1193 wallets, Web2 email/password, or Node.js 18+ server signer. ~23 KB gzipped.

  • Integrity & logs

    On-chain hash commitments; public operation counts on the CIFER Explorer with zero plaintext or keys.

Architecture comparison

How CIFER compares.

A direct comparison between classical asymmetric encryption, centralized cloud key management, and CIFER's post-quantum, zero-key enclave model.

Capability Classical RSA / ECC Centralized Cloud KMS CIFER (cifer-sdk)
Quantum resistance Vulnerable to Shor's algorithm; exposed to Harvest Now, Decrypt Later. Often requires manual migration and vendor-specific algorithm support. ML-KEM-768 (NIST FIPS 203) + AES-256-GCM by default.
Private key custody User or application manages raw key files and rotation. Single cloud provider or centralized HSM vault controls access. Zero-key: split across a decentralized enclave cluster using threshold cryptography.
Single point of compromise Leaked key file exposes all protected records. Compromised cloud account or root IAM policy exposes tenant keys. No single server holds a complete private key or master copy.
AI agent delegation Requires sharing raw keys or building custom proxy permissions. Tied to cloud IAM roles and provider-specific SDKs. Revocable on-chain delegate role; agents run autonomously in Node.js without transfer rights.
Storage lock-in None, but key distribution is manual. Typically coupled to one cloud vendor's ecosystem. None. Keep ciphertext in any UAE cloud, database, on-premise store or IPFS.
Verifiable integrity Requires separate signing and logging infrastructure. Private cloud audit logs only. Optional on-chain hash commitments and public operational telemetry on the Explorer.

Developer integration

One call in browser or Node.js.

Works with ethers, viem, wagmi or none of them. Point ChatGPT, Claude or Cursor at llm.txt to generate your integration.

npm install cifer-sdk

The SDK is in beta and its API may change. Request an organization application key at contactus@cifer-security.com.

import {
  createCiferSdk,
  Eip1193SignerAdapter,
  blackbox,
} from 'cifer-sdk';

const sdk = await createCiferSdk({
  blackboxUrl: 'https://blackbox.cifersecurity.com:3010',
  applicationKey: 'ck_your_organization_key',
});

// Connect your wallet
const signer = new Eip1193SignerAdapter(window.ethereum);

const encrypted = await blackbox.payload.encryptPayload({
  chainId: 8453,
  secretId: 123n, // Your secret ID
  plaintext: 'Hello, quantum-resistant world!',
  signer,
  readClient: sdk.readClient,
  blackboxUrl: sdk.blackboxUrl,
});

Technical FAQ

Cryptography and SDK answers.

What is ML-KEM-768 (NIST FIPS 203)?

ML-KEM-768 is the Module-Lattice-Based Key-Encapsulation Mechanism standardized by the U.S. National Institute of Standards and Technology as FIPS 203 (derived from CRYSTALS-Kyber). Its security rests on the Module Learning With Errors (MLWE) lattice problem, which quantum algorithms such as Shor’s algorithm are not expected to solve efficiently.

Why does CIFER pair ML-KEM-768 with AES-256-GCM?

ML-KEM-768 establishes the quantum-resistant shared secret (key encapsulation), while AES-256-GCM performs fast, authenticated encryption of the actual payload or file. At 256-bit key strength, symmetric AES remains resistant to Grover’s quantum search algorithm while providing integrity verification.

Where is the private key stored in CIFER?

Nowhere in whole form. When a secret is created, its ML-KEM-768 private key is split across a decentralized cluster of secure enclaves (TEEs) using threshold cryptography. No user device, developer backend, or single enclave machine holds a complete master copy.

Is publishing the public key on IPFS safe?

Yes. A public key can only encrypt data for the secret owner; it cannot decrypt anything. Publishing it on IPFS lets any authorized app, user or wallet lock data for a recipient without asking for a secret exchange.

How long does it take to create a new secret and encrypt data?

Creating a new secret requires about 30 to 60 seconds to synchronize across the enclave cluster. Once ready, short payloads up to 16 KB encrypt in a single SDK call, and files of any size run through asynchronous encryption and decryption jobs.

How does delegate authorization work for AI agents and team members?

Ownership of every secret is recorded on-chain. Only the owner can transfer the secret or assign and remove a delegate. A delegate can encrypt and decrypt payloads for that secret, enabling autonomous Node.js AI agents or staff workflows with instant revocation.

Does cifer-sdk require a Web3 wallet?

No. CIFER supports both Web3 sign-in (MetaMask, WalletConnect, Coinbase Wallet, or any EIP-1193 wallet with ethers, viem, wagmi, or none of them) and Web2 email-and-password sign-in, plus private-key signer adapters loaded from server environment variables in Node.js 18+.

What does CIFER mean when it says it is built for AI?

CIFER is not an AI model and does not inspect or filter prompt content; it encrypts bytes. It is built for AI because developers can lock prompts, chats, documents and agent memory in one SDK call, run autonomous server-side agents as revocable delegates, and let AI assistants like ChatGPT, Claude or Cursor generate integrations directly from sdk.cifer-security.com/llm.txt.

Deploying in the UAE? Read our regional guides for the UAE, Dubai, Abu Dhabi, or العربية.

Start building

Start with one line.

npm install cifer-sdk