Implementation guide

Privacy patterns for permissioned blockchains

Sheet
A-06
Checked
Sources
12
Scope
Canada · educational
Short answer

The safest privacy pattern keeps personal and confidential data off the shared ledger and records only references or salted hashes. Where data must travel through the network, use the framework’s own tools: Fabric channels and private data collections, Corda’s need-to-know sharing, or Canton’s sub-transaction privacy.

Key takeaways
  • Default to off-chain storage, with salted hashes or references on the ledger.
  • Fabric channels isolate whole ledgers; private data collections hide data from orderers and non-members while a hash stays on-chain.
  • Corda nodes keep only facts they are party to; Canton sends each validator only its views.
  • Besu removed Tessera privacy and its privacy APIs; plan application-layer privacy.
  • NIST’s flowchart warns against writing personal information to a blockchain even if encrypted.
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.

Start with the data map

Privacy design starts with a list, not a framework. For each field the network will handle, record what it is, whose information it is, which members need to see it, how long it must be kept and whether it may ever need correcting or deleting. Several of PIPEDA’s Schedule 1 principles bear directly on that list: safeguards include limiting access on a “need-to-know” basis (clause 4.7.3); information no longer needed should be destroyed, erased or made anonymous (clause 4.5.3); and inaccurate information must be amended (clause 4.9.5). An append-only ledger makes the last two hard, which is why placement matters so much.

The data placement step of the residency planner walks through each field and suggests where it belongs. For the legal background, see the privacy and residency hub, PIPEDA and shared ledgers and immutability vs correction and deletion.

Pattern 1: off-chain storage with salted hashes

Keep the data itself in member systems or a controlled off-chain store, and put only a reference and a hash on the ledger. A hash is a short fingerprint: anyone holding the original can recompute it and prove the record has not changed, but the hash alone does not reveal the content. For low-variety values such as names, dates of birth or postal codes, an attacker could hash every likely value and look for a match, so add a salt, a random value stored off-chain with the record, before hashing.

  • Store the record and its salt off-chain, under each member’s normal access controls and retention rules.
  • Write the salted hash, a record identifier and the minimum business metadata to the ledger.
  • To verify, the holder discloses the record and salt to the party who needs them; that party recomputes the hash and compares.
  • To retire the record, delete it and its salt off-chain. The on-chain hash then becomes very hard to link back to anyone.

Pattern 2: Fabric channels and private data collections

Fabric offers two built-in tools. A channel is a “private subnet of communication” between specific members, with its own separate ledger. A private data collection lets a subset of a channel’s organizations share data without creating a new channel: the data travels peer to peer by gossip only to authorized peers, and only a hash of it is ordered and written to every peer’s ledger.

Fabric channels vs private data collections
ChannelPrivate data collection
What it isA private subnet of communication between specific members, with its own ledgerA subset of a channel’s organizations sharing data without a new channel
Who sees the dataMembers of the channelAuthorized peers only; other channel members see a hash
Ordering serviceHandles the channel’s transactionsNever sees the private data
On every peer’s ledgerThe channel’s transactions, on member peers onlyA hash of the private data
RemovalLedger entries are append-onlyPurgePrivateData removes the data from authorized peers and leaves the hash; collections can also purge automatically after a set number of blocks
Docs recommend it whenWhole transactions and ledgers must be confidentialData must be hidden from orderers

Collections can also carry their own endorsement policy, so the organizations that hold the private data are the ones that endorse changes to it.

Pattern 3: need-to-know ledgers in Corda and Canton

Some frameworks avoid broadcasting data in the first place. Corda has no central data store: each node keeps only the facts it is party to, so no node sees the whole ledger. The notary is the one shared component, and the choice matters. A validating notary checks the full transaction and therefore sees more data; a non-validating notary sees only input references and the time window, which is more private.

Canton goes further with sub-transaction privacy. The submitter splits a transaction into encrypted views, one for each set of stakeholders. Each validator receives only the views relevant to the parties it hosts, and a validator with no party in a sub-transaction receives nothing about it. The synchronizer that orders and confirms the transaction never sees its content.

Pattern 4: EVM networks after Tessera

On 2024-09-24 the Besu maintainers announced they would sunset Tessera privacy and onchain permissioning. Besu 25.6.0 removed Tessera privacy, 25.7.0 removed the EEA and PRIV privacy RPC API groups, and the 26.7.0 changelog says “Sunsetting features is now complete.” The maintainers pointed users to application-layer solutions and said a new open-source “EVM programmable privacy” project would be proposed to LFDT Labs.

In practice, assume every node on a Besu network can read every contract’s state. Keep confidential data off-chain (Pattern 1), encrypt anything sensitive before submission, or run separate networks for separate confidentiality domains. See Besu.

What encryption does and does not solve

Encrypting a field before it reaches the ledger hides its content from anyone without the key. It does not stop the ciphertext being copied to every member’s node, it cannot be recalled from those copies, and its protection lasts only as long as the keys stay secret and the algorithm stays strong. That is why the DHS flowchart in NIST IR 8202 warns against writing personal information to a blockchain even if it is encrypted, and why NIST notes that such data may not be appropriate even on a permissioned blockchain. The OPC has no standalone blockchain guidance; its 2023 Tech-Know blog post discusses the privacy risks of public-by-default blockchains and mentions homomorphic encryption as one possible mitigation.

How do you keep data private on Hyperledger Fabric?

Use channels when whole transactions and ledgers must be confidential to a group, and private data collections when a subset of a channel’s members must share data hidden from others and from the ordering service. In both cases, keep personal information off the ledger where you can.

Can personal information be stored on a blockchain in Canada?

It is risky. PIPEDA’s principles expect information no longer needed to be destroyed or anonymized and inaccurate information to be amended, which is hard on an append-only ledger, and NIST warns against writing personal information even in encrypted form. The usual design keeps it off-chain with only references or salted hashes on the ledger.

Does Besu still support private transactions?

No. Tessera privacy was removed in Besu 25.6.0 and the EEA and PRIV privacy APIs in 25.7.0. The maintainers point users to application-layer privacy.

Is a hash of personal information still personal information?

It can be, especially if it is unsalted or can be linked back to a person. Treat it as a legal question for each design and confirm the answer with your privacy officer or counsel.

Mitey the yeti reading a data map
DETAIL A-06 · Mitey on this sheetMitey moves the producer’s name off the ledger and keeps only a hash.
Placing five data elements
The traceability pilot’s data: lot IDs, prices, producer names, certificates and driver phones.
Placing five data elements: 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 elements5Lot ID and custody status; Agreed unit price; Producer name and farm address; Grading certificate (PDF); Truck driver phone
Orderers needed3 (quorum 2)Crash tolerance: 2f + 1.
Total nodes11Survives the loss of the busiest location.
Data placementLot ID and custody status: on ledger; Agreed unit price: private collection; Producer name and farm address: hash on ledger; Grading certificate (PDF): on ledger; Truck driver phone: off ledger
ResultNo stops, 5 actionsActions under: PIPEDA; Québec private-sector Act (Law 25); Alberta PIPA.

What it shows: Personal data ends up as salted hashes and confidential prices go only to the parties involved; the ledger keeps what everyone must verify.

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. Personal Information Protection and Electronic Documents Act (Justice Laws)
  2. Hyperledger Fabric docs: Channels
  3. Hyperledger Fabric docs: Private data
  4. Hyperledger Fabric docs: Endorsement policies
  5. Corda key concepts: The ledger
  6. Corda key concepts: Notaries
  7. Canton Network docs: How transactions work
  8. LF Decentralized Trust: Sunsetting Tessera and simplifying Hyperledger Besu
  9. Besu 25.6.0 release notes
  10. Besu changelog
  11. NIST IR 8202 (PDF), Blockchain Technology Overview
  12. OPC Privacy Tech-Know blog (2023-10-24)