Privacy & residency
Immutability vs correction and deletion: designing a ledger the law can live with
- Sheet
- D-06
- Checked
- Sources
- 7
- Scope
- Canada · educational
A blockchain only creates and reads records, and data marked deleted by a later transaction stays in the chain. Canadian privacy law expects organizations to correct personal information and destroy what they no longer need, so keep personal information off the ledger and put only salted hashes or references on it. Purge features help only at the edges.

- NIST IR 8202: blockchains support “CR”, not CRUD; “deleted” data remains in the chain.
- PIPEDA cl. 4.5.3 and 4.9.5 and Québec ss. 23 and 28.1 all assume information can be destroyed, corrected or withdrawn.
- Off-ledger storage with a salted hash on-ledger is the default pattern; delete the data and the salt and the hash is orphaned.
- Fabric’s PurgePrivateData and automatic collection purge remove private data and leave only its hash.
- Bill C-36 would add a disposal right, but it is a bill, not law.
The problem: CR, not CRUD
Ordinary databases support four operations: create, read, update and delete. NIST IR 8202 observes that blockchains support only the first two. An “update” is a new transaction that supersedes an old one, and data marked “deleted” by a later transaction is still present in the chain. That is the point of a ledger: every member can verify that history has not been rewritten. It is also why personal information and ledgers mix badly, because privacy law assumes information can be corrected and, eventually, destroyed.
What Canadian law expects
| Requirement | Where it comes from | What it means for a ledger |
|---|---|---|
| Destroy, erase or anonymize information no longer needed, with procedures for destruction | PIPEDA Schedule 1, cl. 4.5.3 | Anything on the ledger outlives its purpose unless the design can remove it |
| Amend inaccurate or incomplete information (correct, delete or add) and pass amendments on to third parties where appropriate | PIPEDA Schedule 1, cl. 4.9.5 | A correction must reach every member holding the record |
| Destroy or anonymize once purposes are achieved; anonymization must be irreversible and follow regulated criteria | Québec P-39.1, s. 23 | A hash that can still be linked back is not anonymized |
| Stop dissemination or de-index a hyperlink in defined circumstances | Québec P-39.1, s. 28.1 | Replication to other members is dissemination that may need to stop |
| Right to request disposal (permanent, irreversible deletion or anonymization) | Bill C-36, proposed PPCDA | Bill only, at second reading; not law |
Background on each regime is on PIPEDA and shared ledgers and Québec Law 25.
Design patterns that work
Off-ledger storage with a salted hash on the ledger
Keep the personal information in each member’s own database. On the ledger, record a reference and a hash computed over the record plus a random salt that is stored off-ledger with it. Members can still prove that a document existed in a given form at a given time by recomputing the hash. When the record must be destroyed, delete the record and the salt; the hash left on the ledger then points at nothing that can be recovered by guessing. This is the default we recommend, and it handles correction too: store the corrected record, append a new hash, and mark the old reference superseded.
Fabric private data and purge
Hyperledger Fabric’s private data collections let a subset of a channel’s organizations share data without a new channel. The data travels peer-to-peer only to authorized peers, the ordering service never sees it, and only a hash is ordered and written to every peer’s ledger. The PurgePrivateData call removes private data entirely from authorized peers and leaves only its hash. Collections can also purge automatically after a configured number of blocks (the collection’s block-to-live setting). That gives a real deletion path on-chain, with two cautions: the hash remains, and copies already pulled into applications, reports or backups must be deleted separately.
Crypto-shredding, with caution
Crypto-shredding means writing only encrypted data and destroying the key when the data must go. It is useful for off-ledger stores and backups, where you control the key lifecycle. On a shared ledger it is weaker than it looks: the ciphertext stays with every member forever, every copy of the key (including escrow and HSM backups) must be destroyed and provably so, and encryption that is strong today may not be in decades. The DHS flowchart in NIST IR 8202 warns against writing PII to a blockchain even if encrypted. Treat crypto-shredding as a second layer, not the plan.
Correction by appending
For non-personal business data, the ledger way to correct an error is to append a superseding transaction that references the original and explains the change. Applications read the latest valid state. This preserves the audit trail, which is often the reason the consortium exists. It does not remove the old value, so it is only acceptable for data that may lawfully remain.
Redaction governance
Whatever the mechanism, someone has to decide when to use it. The charter should say who can request a purge or deletion, who approves it, how quickly each member must act, how completion is evidenced, and how other members are told, which also serves PIPEDA clause 4.9.5’s expectation that amendments reach third parties. Put it alongside upgrades and change control, because a purge is a governed change to shared state.
| Pattern | Removes the personal information? | What remains on-chain | Main caution |
|---|---|---|---|
| Off-ledger data + salted hash | Yes, by deleting the record and salt | An orphaned hash and reference | Salt must be deleted too; avoid unsalted hashes |
| Fabric private data purge | Yes, from authorized peers | The hash of the private data | Copies outside the peers need separate deletion |
| Crypto-shredding | Only if every key copy is destroyed | Ciphertext on every node | Long-term cryptographic risk; key sprawl |
| Correction by appending | No | Original and correction | Unsuitable for personal information that must go |
A deletion and correction workflow
- Classify the request
Correction, destruction at end of retention, withdrawal of consent, or a Québec cessation request. Each has its own trigger and timeline.
- Find every copy
Use the data map: off-ledger stores, private data collections, application caches, reports, backups and logs, across all members.
- Act at the source
Correct or delete the off-ledger record and its salt; call purge for private data where used.
- Append a status record
Write a non-personal ledger event saying the reference was corrected or retired, so every member’s application stops relying on it.
- Notify other members
Tell each member that held the information and ask for confirmation that their copies are handled.
- Keep the evidence
Record what was done, where and when, for the individual, for your privacy officer and for any regulator inquiry.
The data placement step of the residency planner applies these rules one data element at a time and tells you whether a field belongs on the ledger, in a private collection or off-chain. The broader toolkit is in privacy patterns.
Can you delete data from a blockchain?
Not from the ordinary shared ledger: a later transaction can mark data deleted, but NIST IR 8202 notes it remains in the chain. Some frameworks offer narrower tools, such as Fabric’s private data purge, which removes private data from peers and leaves its hash.
Does crypto-shredding satisfy Canadian deletion requirements?
It may help, but it is a weak primary strategy on a shared ledger: ciphertext stays on every node and every copy of the key must be destroyed. Keep personal information off-ledger and use crypto-shredding as a second layer. Your privacy officer should decide whether it counts as destruction for your records.
Is the right to disposal in Bill C-36 law yet?
No. Bill C-36 is at second reading in the House of Commons. It would add a right to request disposal of personal information, but until it passes, PIPEDA’s retention and destruction principle (clause 4.5.3) is the federal rule.

| Framework | Hyperledger Fabric — Raft orderingTolerates 1 crashed orderer; 2 peers per member. |
|---|---|
| Members | Grain handler (AB); Processor (QC); Distributor (ON); Exporter (BC)Nodes: AWS Canada West, Calgary, Azure Canada East, Québec, Google Cloud northamerica-northeast2, Toronto, Member’s own data centre (in its province). Backups: AWS Canada (Central), Montréal, Azure Canada Central, Toronto, AWS Canada West, Calgary. |
| Support from outside Canada | No |
| Data elements | 2Customer name and address; Delivery confirmation |
| Orderers needed | 3 (quorum 2)Crash tolerance: 2f + 1. |
| Total nodes | 11Survives the loss of the busiest location. |
| Data placement | Customer name and address: hash on ledger; Delivery confirmation: on ledger |
| Result | No stops, 5 actionsActions under: PIPEDA; Québec private-sector Act (Law 25); Alberta PIPA. |
What it shows: The planner puts the record off-ledger with a salted hash: delete the record and the salt, and the ledger entry points to no one.
Open this example in the residency planner →Rules checked 2026-10-31; this is not legal advice.Computed 2026-11-04.
Sources
Checked 2026-10-31. Rules and project status change; confirm against the source before relying on it.
- NIST IR 8202, Blockchain Technology Overview (PDF)
- NIST IR 8202, Blockchain Technology Overview
- Personal Information Protection and Electronic Documents Act (PIPEDA), Justice Laws
- Act respecting the protection of personal information in the private sector (CQLR c P-39.1)
- LEGISinfo: Bill C-36 (45th Parliament, 1st session)
- Library of Parliament legislative summary of Bill C-36
- Hyperledger Fabric docs: Private data
Related
Blockchain Deployment & Data Residency Planner
Place each member’s nodes and backups in Canadian regions, decide what goes on the ledger, see which privacy and residency rules apply, and download a PIA starter.
Open →Implementation guidePrivacy patterns for permissioned blockchains
Privacy patterns for shared ledgers: Fabric channels and private data, Corda need-to-know, Canton sub-transaction privacy, off-chain storage and salted hashes.
Open →Privacy & residencyPIPEDA and shared ledgers: what the 10 principles mean when every member holds a copy
How PIPEDA’s ten fair information principles apply to a permissioned blockchain: accountability for hosts, destruction, amendment, safeguards and breaches.
Open →Privacy & residencyQuébec Law 25 and permissioned blockchains
What Québec’s Law 25 means for a blockchain consortium: PIAs for new systems, s. 17 rules for nodes outside Québec, destruction, portability and penalties.
Open →Framework profileHyperledger Fabric: how it works, what changed in 3.x and when it fits
Hyperledger Fabric for Canadian teams: v3.1.5 and the v2.5 LTS line, channels, private data, Raft and BFT ordering, chaincode and managed options.
Open →