Patient records for a clinic (EHR)
Instead of Postgres + audit triggers + a history table
| Arkeion | Postgres + audit triggers + a history table | |
|---|---|---|
| Proving no record was altered | SHA-256 hash chain + verify(), built into storage | A history table a privileged user can still edit — no cryptographic proof |
| Reading a record as it stood a year ago | SELECT … AS OF that version or timestamp | Replay the audit log by hand to reconstruct it |
| PII encryption at rest | AES-256-GCM per page, keys held by you | Bolt on pgcrypto or disk encryption, configured separately |