
Encrypted Apps
strongChar
Your data, sealed to only the machines that need it. Every step proven.
About
Hospitals, banks and schools sit on data that could train useful models, and they can't send it to a stranger's GPU. Federated learning keeps the data home but makes you trust whoever runs the training. Kaggle-style competitions ask you to trust the host with the hidden labels and every submitted script. And anything encrypted today with classical keys can be stored now and opened once quantum computers arrive. strongChar lets anyone train a model on private data using other people's computers, and run competitions where the hidden test set never leaks, with nothing taken on trust that the chain can check. The Encrypted Apps requirements, each one live: - ML-KEM-1024 encryption: every shard, validation split, model, competition test set and script is a QoreSeal envelope (ML-KEM-1024 with X25519), sealed to named QoreChain addresses. The coordinator's whole store is public at strongchar.vercel.app/sealed: ciphertext only. - Registered recipient keys: nothing is sealed to an address without an ML-KEM-1024 key registered on chain (MsgRegisterKEMKey); the browser and the CLI both refuse. strongchar.vercel.app/account registers yours. - ML-DSA key binding: each recipient card is signed with the address's secp256k1 and ML-DSA-87 keys and checked against its possession-proven ML-DSA-87 key before sealing. The verifiers' ML-DSA-87 signatures on every settlement are checked on chain by pqcVerify; re-check them from your browser at strongchar.vercel.app/jobs/5. - Client-side encryption and decryption: owners seal and open in the browser (strongchar.vercel.app/jobs/new, /compete/new); nodes and verifiers on their own machines. The server in the middle never encrypts or decrypts. How a job runs: - Sealed, never shown. The owner splits the data into shards and seals each one with QoreSeal (ML-KEM-1024 with X25519) to the two verifiers' registered keys. The coordinator stores ciphertext only and serves it only to a listed recipient. Each round, a verifier re-seals a seated node's shard to that node alone, and the node checks it against the hash the owner committed to on-chain. - Best nodes, every round. A laptop joins with four commands (init, setup, doctor, run): it registers its keys, stakes BERU and starts training. Each round seats the fastest nodes online; a node that cheats or goes quiet is skipped. - Bit-exact replay. Training runs on a CPU kernel that gives the same bytes on every machine (x86 laptops and the arm64 servers produce identical hashes). Two verifiers rerun every node's work; a different hash is a cheat, with no tolerance to argue about. - Post-quantum settlement. Both verifiers sign one settlement with ML-DSA-87. The JobMarket contract checks both signatures with the pqcVerify precompile against possession-proven keys before anyone is paid; cheaters lose their stake, honest nodes are paid in fUSD. New nodes are on probation: their share goes to a community pool that tops up proven nodes, so throwaway nodes earn nothing. - Model for the owner only. The final model is sealed to the owner, who opens it and scores it on rows that never left their machine. Competitions work the same way: hosts seal test rows and labels to the verifiers and commit the labels on-chain; entrants seal their scripts; both verifiers run each script in a network-less gVisor sandbox and sign the same verdict and score table; the labels are revealed on-chain so anyone can recompute the ranking. Live now on qorechain-diana: - Job 3 trained on the AWS stack: validation loss 1.416 → 0.449, holdout accuracy 0.310 → 0.777. A cheating node was caught by replay and slashed in both rounds. - Competition 2 ran three sealed scripts under gVisor: logistic regression won (0.832), always-zero scored 0.815, and a script that tried to reach the network was rejected. - Five node machines on separate IPs (containers on one host) were seated per round, including one onboarded from scratch with the CLI. Threat model, limits and every transaction hash: see the README and THREAT_MODEL.md.
How it's made
- Python 3.12 (uv workspace): a bit-exact MLP kernel, canonical datasets, the merge and gate, settlement, the coordinator (FastAPI), the node and verifier services and the strongchar-node and strongchar-job CLIs. - QoreChain kits: qorechain-sdk (hybrid ML-DSA-87 transactions, scoped EVM windows, PQC and KEM key registration), QoreSeal (multi-recipient ML-KEM-1024 envelopes with AAD bound to chain, contract, job, round, shard and recipients), QoreSign recipient cards, native AMM pool 2 for QOR → fUSD. - Solidity (Foundry, 55 tests): JobMarket, NodeRegistry, Competitions and the BERU token; settlements and score tables are accepted only with two ML-DSA-87 signatures checked by the pqcVerify precompile, and keys are checked with pqcKeyStatus. Forged, replayed and expired signatures are tested with a mocked precompile and a diana fork. - Infrastructure: three arm64 AWS servers (coordinator behind Caddy TLS, four nodes, two verifiers with gVisor), one hardened Docker image, per-service key files; the web app is Next.js on Vercel reading the chain and the coordinator. - AI: built with an AI coding assistant under my direction; every change went through a reviewed pull request with CI. Details in AI_USAGE.md.
Timeline
Pushed 1 commit to main
- d20c5e9 Merge pull request #42 from rounak-agl/plan-deadline-day · rounak-agl
Pushed 4 commits to main
- d6e1398 Record the standings check, the rubric map and the side-entry update in MEMORY · rounak-agl
- 3d9e077 Drop a step count the account page doesn't promise · rounak-agl
- 84a477c Map strongChar to the Encrypted Apps requirements at the top of the README · rounak-agl
- 0d1e3c6 Record the platform updates and the side-entry submission in MEMORY · rounak-agl
Pushed 1 commit to main
- 72a950c Merge the 22 Nov standings log (#41) · rounak-agl
Pushed 1 commit to main
- 3627653 Merge the Encrypted Apps requirements map (#40) · rounak-agl
Pushed 1 commit to main
- 9ecc383 Merge the 22 Nov submission log (#39) · rounak-agl
Tested every day against the live site. A Playwright run opens every page of strongchar.vercel.app with QoreChain's QoreX test wallet. It re-checks job 5's ML-DSA-87 signatures, creates an account, reads its PQC status badge, then refuses the funding request so nothing is spent. It runs daily on GitHub Actions. The app now uses 12 QoreChain kits, including @qorechain/evm for the chain and precompiles and @qorechain/react for the balance and PQC badge.
https://github.com/rounak-agl/strongChar/actions/workflows/smoke.ymlFixed: two jobs on the same data no longer collide. A job's sealed data is stored under the hash of its spec. Two jobs with the same CSV and settings got the same hash, so a second owner was refused. Worse, an owner posting the same job twice would have replaced the first job's sealed data. Every new spec now carries a random salt. The Python planner, the browser and the CLI agree on it byte for byte, and CI checks this against test vectors. Jobs 1–5 work as before.
https://github.com/rounak-agl/strongChar/pull/35New: check the signatures yourself. At the end of every round, both verifiers sign the settlement with ML-DSA-87. Every job page now has a "Check the signatures yourself" panel. Your browser reads the settlement transaction and looks up each verifier's registered key with the chain's pqcKeyStatus precompile. It then runs pqcVerify on the signed message, and again on a copy with one byte flipped. You should see "valid" and then "rejected" for both verifiers. You don't need to install anything or trust our servers. Try it on job 5: strongchar.vercel.app/jobs/5
https://strongchar.vercel.app/jobs/5Pushed 11 commits to main
- 866d73e Record the side entry's deploy, film and pending steps in MEMORY · rounak-agl
- 70d2858 Record the deploy, the kit check and the side repo in MEMORY · rounak-agl
- 2cd1063 Record the browser competition flow, the spec salt and Q15 in the plan · rounak-agl
- f04fb9c Host and enter competitions from the browser · rounak-agl
- 05e7070 Share the EVM window and send helpers between browser flows · rounak-agl
and 6 more commits
Pushed 1 commit to main
- fae3ae9 Merge the 22 Nov side-entry log (#38) · rounak-agl
Pushed 1 commit to main
- 2f399f3 Merge the 22 Nov deploy log (#37) · rounak-agl
Pushed 1 commit to main
- 08bdcf1 Merge browser hosting and entering of competitions (#36) · rounak-agl
Pushed 1 commit to main
- 32f62ce Merge the per-job spec salt and the browser smoke run (#35) · rounak-agl
Pushed 1 commit to main
- 41ef35b Merge the 22 Nov MEMORY log (#34) · rounak-agl
Pushed 1 commit to main
- e947a0c Merge the EVM, React and QoreX test-double kits (#33) · rounak-agl
Pushed 11 commits to main
- 1d66029 Record the browser owner, Q16 and the feature series in MEMORY · rounak-agl
- 84cf993 Document posting and opening jobs in the browser · rounak-agl
- 5de8b18 Pass no icon component from the server jobs page · rounak-agl
- 1c19b11 Post a job and open its model from the web app · rounak-agl
- 76c0412 Seal, upload, fund and create a job from the browser · rounak-agl
and 6 more commits
The showcase film is out. 2:17 of a real job on our AWS stack and the diana testnet: the owner seals four shards with ML-KEM-1024, four nodes train, and node-4 fakes its weights. Both verifiers replay it bit for bit and flag a ReplayMismatch in both rounds. The contract checks their two ML-DSA-87 signatures with pqcVerify, slashes node-4 (200 → 80 BERU) and pays the honest three. Every hash and transaction on screen comes from that run. https://youtu.be/tDIv79SndSg
https://youtu.be/tDIv79SndSgFeature 8 of 8: watch it happen live. strongchar.vercel.app reads straight from the chain and our AWS network. See every node and its probation meter, each job's signed loss curve falling, and a receipt for every round: who trained, how both verifiers ruled, and the transaction that settled it. Go look for the cheater. https://strongchar.vercel.app

Pushed 1 commit to main
- b8c1282 Merge the 21 Nov MEMORY log (#32) · rounak-agl
Comments and questions
- No comments yet.