{ "about": "sealed_enc = \"s1:\" b64url(nonce || AES-256-GCM(DEK, pad(canonical JSON of the sealed columns), body_aad)); dek_enc = \"d1:\" b64url(nonce || AES-256-GCM(TK(table, seal_v), DEK, dek_aad)); pad = ASCII spaces to 64, 256, 1024, 4096, then multiples of 4096; canonical JSON sorts keys by UTF-8 bytes", "database_id": "11111111-1111-4111-8111-111111111111", "table": "message", "id": "5b1c0e7a-0000-4000-8000-000000000001", "seal_v": 7, "dk_hex": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f", "dek_hex": "2424242424242424242424242424242424242424242424242424242424242424", "body_nonce_hex": "010101010101010101010101", "dek_nonce_hex": "020202020202020202020202", "spec": { "clear": [ "sent_at", "thread_id", "reply_to_id", "channel", "trashed_at" ], "blind": [ "body", "preview" ], "blind_exact": [ "external_id" ] }, "row": { "id": "5b1c0e7a-0000-4000-8000-000000000001", "sent_at": "2026-11-11T09:14:03Z", "thread_id": "5b1c0e7a-0000-4000-8000-0000000000aa", "reply_to_id": null, "channel": "whatsapp", "trashed_at": null, "body": "Zanzibar ferry tickets for Thursday, café near the jetty", "preview": "Zanzibar ferry tickets", "external_id": "wamid.HBgMOTE5ODc2NTQzMjEwFQIAEhgg", "sender_handle": "+919876543210", "reactions": [ "👍" ] }, "body_aad": "s1|11111111-1111-4111-8111-111111111111|message|5b1c0e7a-0000-4000-8000-000000000001", "dek_aad": "d1|11111111-1111-4111-8111-111111111111|message|5b1c0e7a-0000-4000-8000-000000000001|7", "sealed_plaintext": "{\"body\":\"Zanzibar ferry tickets for Thursday, café near the jetty\",\"external_id\":\"wamid.HBgMOTE5ODc2NTQzMjEwFQIAEhgg\",\"preview\":\"Zanzibar ferry tickets\",\"reactions\":[\"👍\"],\"sender_handle\":\"+919876543210\"}", "padded_len": 256, "stored": { "id": "5b1c0e7a-0000-4000-8000-000000000001", "sent_at": "2026-11-11T09:14:03Z", "thread_id": "5b1c0e7a-0000-4000-8000-0000000000aa", "reply_to_id": null, "channel": "whatsapp", "trashed_at": null, "sealed_enc": "s1:AQEBAQEBAQEBAQEBstuEGLWdzE6LFv3_K40OU6irchqdqsUOQ0hZ38lqTIu_pT3r_HXTvkMnzQgD9UciEjKwjpNQVymROq063nfvUNtqWIDAa_Dbe6QX0wtlcdHg0PRoYolZdJTp7KLq2iaN9zdqLXU3OBGYaWcG9jKq5TQvZMoHfybbn9ehKXAiVyITe2njMrOwpha570GAS7IpMVeJh189126-yp08lZt49HEnMOIVoQhYtcnMbyxSXvKSQQgY0cOGHyv-CWC7KpRVW5zfOSd6zwSGIBdiVxNbiHDnSSB3ssaeLCc3U6nz__qJwWDqhse8O3f-iMe8B4_VCLFGPmfqTbGoH4fyHTlwiO3mlSZr-dB-PNMKtGQCE4g", "dek_enc": "d1:AgICAgICAgICAgIC8-7vt3svckRi3JUVHuHTrMFByUiLHYZDN7yeleDgQ646S-irIAlNmg90B1RiKmaQ", "seal_v": 7 }, "refusals": [ { "what": "another row", "database_id": "11111111-1111-4111-8111-111111111111", "table": "message", "id": "5b1c0e7a-0000-4000-8000-000000000002", "seal_v": 7 }, { "what": "another database", "database_id": "22222222-2222-4222-8222-222222222222", "table": "message", "id": "5b1c0e7a-0000-4000-8000-000000000001", "seal_v": 7 }, { "what": "another table", "database_id": "11111111-1111-4111-8111-111111111111", "table": "thread", "id": "5b1c0e7a-0000-4000-8000-000000000001", "seal_v": 7 }, { "what": "another version", "database_id": "11111111-1111-4111-8111-111111111111", "table": "message", "id": "5b1c0e7a-0000-4000-8000-000000000001", "seal_v": 6 } ], "buckets": [ [ 0, 64 ], [ 64, 64 ], [ 65, 256 ], [ 1000, 1024 ], [ 4097, 8192 ] ] }