Why Are Bank Account Numbers Stored as Hashes, Not Numbers?
Published November 14, 2026 · Reviewed November 14, 2026 · By the Ingenious AI team
The short answer
Because everything verification needs is equality, and equality does not require custody. To know whether presented bank details match the last verified set, WireWatch hashes the presented account number with SHA-256 and compares it to the stored hash of the verified set — a match is exact, a difference fires the +35 change signal. The numbers themselves are never stored, so the vendor master and the ledger cannot leak what they do not hold, and exports can prove a change occurred without circulating account numbers. It is the same hash discipline that chains the ledger, applied to the data the ledger describes. The change-signal guide shows the comparison at work.
What is a hash of a bank account number?
It is the fixed-length SHA-256 fingerprint of the number: a 64-character value computed from the digits, from which the digits cannot be reconstructed, but which is identical whenever the same digits are hashed. Storing the fingerprint lets a system answer 'same account as before?' with certainty while holding nothing a thief — or a subpoena, or a careless export — could use as the number itself.
Comparison, not custody: the design question
Every stored datum should justify its risk. A vendor master holding full account numbers for dozens of suppliers is a small treasury of exactly the information diversion fraud needs — the correct details, organised, labelled by vendor. Breach it, mishandle one export, or simply leave it on the wrong screen, and the defence's own records become the attack's reference copy. Ask what the numbers are for, and the honest answer is one operation: 'are these the same as the verified ones?' Hashing performs that operation perfectly while holding nothing worth stealing.
This is a pattern worth recognising beyond WireWatch: systems that store secrets 'because we might need them' usually need a property of the secret — equality, validity, freshness — that a hash or token provides without the exposure. Custody should always have to argue for itself.
What the hash still proves
Equality, exactly: the same input yields the same hash, so a presented number either matches the verified set or it does not — no tolerance, no approximation, which is why a one-digit change fires the signal. Sequence: because ledger events reference bank sets by their hashes, the record can show that the details changed between two ceremonies without printing any numbers. And integrity: the hash inside a hash-chained entry is itself protected by the chain, so the comparison baseline cannot be quietly swapped without breaking verification.
What it cannot prove is equally clear: a hash cannot tell you whose account a number belongs to, whether the account exists, or whether a payment sent there arrived. Those are the bank's and the callback's territories. The hash answers the one question the ceremony asks of it, completely.
The human workflow around a hash
Staff sometimes worry the abstraction will confuse the work: it does not, because the human never handles the hash. Your team reads and enters bank details in their normal form at the ceremony's moments — onboarding, a change case — and the system hashes at the boundary. The master displays what the team needs (the vendor, the contacts, the verification status and history) while the sensitive value rests as a fingerprint. When the callback confirms new details, the new set's hash replaces the old as the baseline, through the released case, with the change visible in the ledger.
One operational nuance follows: entry must be canonical. Spaces or formatting differences in how a number is typed can change the hash, so enter details in the consistent form your records use, and let the callback — not the keyboard — arbitrate any residual doubt. A formatting false-alarm costs one call; the discipline costs nothing.
Exports, insurers, and not spreading numbers
The privacy property pays out at export time. The ledger CSV and the insurer evidence pack circulate to reviewers, brokers, and files — audiences who need to verify that details changed or matched, and who have no need to hold your suppliers' account numbers. Because the underlying record stores hashes, the exports inherit the discretion automatically; there is no redaction step to forget under claim-time pressure. Data you never stored is data you can never accidentally send.
The same logic protects the mundane flows: screenshots for training, ledger views on shared screens, support conversations. The system's most sensitive values are absent from all of them by construction, not by vigilance.
Limits, stated plainly
Hashing is not encryption for recovery: if your business needs the actual number to make a payment, it gets it from its banking system and the vendor's verified documentation at payment time — WireWatch deliberately does not become a vault of payable numbers. Nor does a hash validate a number's format or existence; a confidently hashed wrong number is wrong, which is why the founding callback — a human confirming the details aloud — remains the moment truth enters the system. The hash preserves truth; it does not create it.
Hold both halves and the design is complete: humans verify, hashes remember, and the remembering never becomes a liability. That is the whole argument, and it is enough.
The 5-action hash hygiene check
- Confirm your master stores hashes, not numbers — audit any spreadsheet or note that still holds full supplier account numbers and retire it.
- Enter details canonically at ceremony moments so comparisons are exact, and arbitrate doubts by callback, not by retyping.
- Use exports freely for review: they carry hashes and events, safe to file with insurance and audit papers.
- Keep payable numbers in the banking channel, where they belong — WireWatch is the verification record, not the vault.
- Verify before you hash: the founding callback is where truth enters; the hash only preserves what the ceremony established.
Worked example: a fictional breach that finds nothing to steal
Example — fictional, for illustration. A fictional design studio's office laptop is stolen from a car, logged into a dozen work tools. The incident review works the list: email (reset), documents (shared, low sensitivity), and WireWatch — where the review closes in minutes. The vendor master on that account holds contacts, verification histories, and SHA-256 hashes of bank numbers. There are no payable account numbers to harvest, no list an attacker could use to craft perfect diversion lures or to test stolen details against.
The studio still rotates credentials and reviews the ledger for anomalies — the chain verifies clean, no instructions were touched. Before: a stolen laptop as a potential treasury of supplier bank details. After: an incident whose worst data finding is a set of fingerprints that cannot be spent.
Related guides and the standing invitation
Companion reading for this topic: Changed Bank Details: Why the Risk Score Adds 35 Points · What Is a Vendor Master File? · How Does a Hash Chain Make Payment Records Tamper-Evident? · What Is a Hash-Chained Audit Ledger?.
Whatever this guide led you to check, prove it the way every guide in this series ends: run the free check on the instruction in front of you, read how the ceremony works for the normative version, and see plans if you want the ceremony enforced on every payment instead of one. A verification you have not recorded is a hope, not a control.
Check an instruction — free · All guides · Create a free account
Sources
- NIST FIPS 180-4, Secure Hash Standard (2015): the standard that defines SHA-256, the hash function behind the ledger chain and the stored account-number hashes.
- WireWatch documentation — How the WireWatch ceremony works (2026): the scoring weights, the hold threshold, and the release gate as implemented in the rules engine this guide describes.
Frequently asked questions
If only a hash is stored, how do we pay the vendor?
From your banking system, using the details on the payment instruction as verified through the ceremony. WireWatch gates and records the instruction; the bank executes it. The hash exists to compare, not to pay from.
Can a hash be reversed to recover the number?
SHA-256 is a one-way function: the number cannot be reconstructed from its hash. Equality can be tested by hashing a candidate number, which is exactly the comparison the system performs.
What if two different numbers produced the same hash?
For SHA-256, a collision is computationally infeasible to find; the comparison is treated as exact. The practical risks in verification are human (wrong number confirmed), not cryptographic.
Does the vendor know their number is hashed?
It is a fair onboarding conversation: we record a fingerprint of your bank details to detect changes, we do not store the numbers themselves. Vendors with their own security teams tend to approve.
Are sort codes or IBANs handled the same way?
The ceremony's comparison centres on the account number's hash as the identity of the bank set; the case record carries the change's context. The principle — store the fingerprint, not the secret — is the design rule throughout.