Privacy & residency

Immutability vs correction and deletion: designing a ledger the law can live with

Sheet
D-06
Checked
Sources
7
Scope
Canada · educational
Short answer

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.

Key takeaways
  • 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.
Member’s own system• Customer name, address• Signed PDF• Salt (deletable)correctable · deletablehash + refShared ledger• Document ID• Salted hash• Status, timestamps• Who may viewreplicated · append-onlyDelete the record and its salt, and the on-ledger hash no longer points to anyone.
The off-ledger pattern for personal and confidential data. Try it in the data placement checker.

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

Correction and deletion duties that a ledger design must accommodate
RequirementWhere it comes fromWhat it means for a ledger
Destroy, erase or anonymize information no longer needed, with procedures for destructionPIPEDA Schedule 1, cl. 4.5.3Anything 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 appropriatePIPEDA Schedule 1, cl. 4.9.5A correction must reach every member holding the record
Destroy or anonymize once purposes are achieved; anonymization must be irreversible and follow regulated criteriaQuébec P-39.1, s. 23A hash that can still be linked back is not anonymized
Stop dissemination or de-index a hyperlink in defined circumstancesQuébec P-39.1, s. 28.1Replication to other members is dissemination that may need to stop
Right to request disposal (permanent, irreversible deletion or anonymization)Bill C-36, proposed PPCDABill 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.

How the patterns compare
PatternRemoves the personal information?What remains on-chainMain caution
Off-ledger data + salted hashYes, by deleting the record and saltAn orphaned hash and referenceSalt must be deleted too; avoid unsalted hashes
Fabric private data purgeYes, from authorized peersThe hash of the private dataCopies outside the peers need separate deletion
Crypto-shreddingOnly if every key copy is destroyedCiphertext on every nodeLong-term cryptographic risk; key sprawl
Correction by appendingNoOriginal and correctionUnsuitable for personal information that must go

A deletion and correction workflow

  1. 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.

  2. Find every copy

    Use the data map: off-ledger stores, private data collections, application caches, reports, backups and logs, across all members.

  3. Act at the source

    Correct or delete the off-ledger record and its salt; call purge for private data where used.

  4. 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.

  5. Notify other members

    Tell each member that held the information and ask for confirmation that their copies are handled.

  6. 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.

Mitey the yeti reading about deletion
DETAIL D-06 · Mitey on this sheetMitey keeps the salt deletable so the hash can be made meaningless.
Customer records that must be correctable
A customer name and address that members must verify, correct and eventually delete.
Customer records that must be correctable: inputs, steps and result
FrameworkHyperledger Fabric — Raft orderingTolerates 1 crashed orderer; 2 peers per member.
MembersGrain 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 CanadaNo
Data elements2Customer name and address; Delivery confirmation
Orderers needed3 (quorum 2)Crash tolerance: 2f + 1.
Total nodes11Survives the loss of the busiest location.
Data placementCustomer name and address: hash on ledger; Delivery confirmation: on ledger
ResultNo 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.

  1. NIST IR 8202, Blockchain Technology Overview (PDF)
  2. NIST IR 8202, Blockchain Technology Overview
  3. Personal Information Protection and Electronic Documents Act (PIPEDA), Justice Laws
  4. Act respecting the protection of personal information in the private sector (CQLR c P-39.1)
  5. LEGISinfo: Bill C-36 (45th Parliament, 1st session)
  6. Library of Parliament legislative summary of Bill C-36
  7. Hyperledger Fabric docs: Private data