Cotton code
25 lines · 1.3 KB · JSONRaw
{  "about": "Sealed at arrival (e2e rulings R2): the object seals a row to the person's arrival public key (crates/cotton-core/src/seal/arrival.rs; the Worker's twin apps/business/src/arrival.ts). With the randomness given, both make `stored` byte for byte; a device holding the DK (32 bytes of 21) opens it into `row`. Synthetic keys and rows only.",  "database": "00000000-0000-4000-8000-0000000000a1",  "table": "garden_event",  "id": "e-1",  "clear": [    "day"  ],  "dek_hex": "0303030303030303030303030303030303030303030303030303030303030303",  "body_nonce_hex": "040404040404040404040404",  "ephemeral_hex": "0505050505050505050505050505050505050505050505050505050505050505",  "wrap_nonce_hex": "060606060606060606060606",  "arrival_pub": "A2gjfILDYh1lR_xtL79_FatTc-5b6r-VseMAgcIP1gI",  "row": {    "day": "2026-11-15",    "title": "Lantern market",    "notes": "Bring the copper kettle"  },  "stored": {    "day": "2026-11-15",    "sealed_enc": "s1:BAQEBAQEBAQEBAQEOwV9otn7dDyjNsIsGDpeUOUU6kwgrDeSTRon-kb6nTDGWxj-NTqcK3wQuj5h1YLizCN1xa7MuVOboYn_d1c48yhUZDC0iA-WCCXBoeeoeNk",    "dek_enc": "a1:UKYUCbHd0DJemxa3AOcZ6XcsBwALG9d4bpB8ZT0gSV0GBgYGBgYGBgYGBgYv8yk0otixq_Kq_jRzK6VxPGLHgsUIjVw527ji2eaVK9zcdBBT9lkOBLVcNTy402kweYfen-EyCisqhZYVTDlR",    "seal_v": 0  }}