Every time you browse a secure HTTPS website, transfer funds via digital banking, or verify a document on VerixID, a mathematical function called SHA-256 is operating behind the scenes. This function forms the bedrock of modern digital trust.

But how does it actually work? And why can its output — a simple 64-character string — serve as evidence stronger than a manual signature?

Definition

SHA-256 (Secure Hash Algorithm 256-bit) is a cryptographic function that transforms data of any size into a unique 64-character hexadecimal string. Developed by the United States NSA, published as the FIPS 180-4 federal standard, it now serves as the backbone of global internet security.

From File to Fingerprint: The Hashing Process

Imagine SHA-256 as an ultra-precise grinder. Whether you feed it a single sheet of paper or a million sheets, the machine always yields an output of identical size: exactly 64 hexadecimal characters (256 bits).

Consider these real-world examples. Inputs vary vastly in size, yet the output remains consistently 64 characters:

SHA-256 — Varying input sizes, consistent 64-character output
INPUT "A" ← 1 character
SHA-256 559aead08264d5795d3909718cdd05abd49572e84fe55590eef31d92abbdd4f5

INPUT "Partnership Agreement 2026" ← 27 characters
SHA-256 3b4c9f2a1e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b7a6f5e4d3c2b1

INPUT 5MB PDF file ← 5,242,880 characters
SHA-256 a7f4c2e9b1d8f6a3c5e0b2d9f4a1c7e3b8d5f2a9c4e6b1d3f8a5c2e7b4d9f6a3

Four Fundamental Properties of SHA-256

What elevates SHA-256 above ordinary compression functions are its four absolute mathematical properties:

Property 01
Deterministic
The exact same input always produces the identical output — on any computer, at any time, anywhere in the world. This is a mathematical guarantee, not a technical one.
Property 02
One-Way Function
From the hash, it is impossible to reconstruct the original file. Much like burning a document — ashes cannot be turned back into paper. This represents a mathematical limitation, not a technological one.
Property 03
Avalanche Effect
Flipping even a single bit in the input alters roughly 50% of the bits in the output. The slightest modification yields a completely distinct hash with zero detectable correlation.
Property 04
Collision Resistant
The probability of two distinct files producing the same hash is 1 in $2^{256}$ — a number with 77 zero digits. This exceeds the total count of atoms in the observable universe.

The Avalanche Effect: One Character, Entirely Different Hash

Among these properties, the avalanche effect is paramount for document integrity verification. Consider this concrete demonstration:

Avalanche Effect — 1 character changed, hash changes ~50%
INPUT A "Payment IDR 100,000,000"
HASH A a3f8d2c1e9b4067f5d8a1c3e2b9f4d7a6e1c8b3f2d5a9e4c7b1f6d3a8e2c5b9f4

INPUT B "Payment IDR 900,000,000"
HASH B 7e2a9c4d1b8f3e6a5d2c9b7f4e1a8d3c6b9f2e5a7d4c1b8e3f6a9d2c5b7f4e1a8
// Changing "1" to "9" creates an entirely distinct hash output

The legal implications are profound: if someone alters a figure in a contract — changing IDR 100 million to IDR 900 million — the document's hash will immediately differ from the ledger record. Tampering cannot occur undetected.

Important Note

SHA-256 proves that document content remains unchanged, not that the document is legally valid or truthful. Content integrity and legal validity are separate concepts — both are required for complete evidentiary proof.

Why Tampering is Impossible

A frequent question is: "What if someone modifies a document, calculates a new hash, and claims it is the original?"

This is where VerixID’s immutable ledger enters. Your document's hash is not merely calculated — it is recorded with an absolute timestamp onto an immutable ledger. Anyone attempting to manipulate the document will generate a new hash that fails to match the registration timestamp record.

The combination of SHA-256 and an immutable timestamp ensures tamper-proof verification:

Scenario Outcome Detected?
Document unmodified Verification hash matches ledger hash Integrity intact
1 character modified Hash differs by ~50% from ledger record Detected
Metadata modified Hash entirely different Detected
File entirely replaced Hash completely different Detected
Ledger hash modified Ledger is append-only; modification is impossible Impossible

SHA-256 in the Real World

SHA-256 is neither experimental nor novel. It has been deployed for over two decades across the world's most critical systems:

TLS/HTTPS — every secure website connection (including online banking) relies on SHA-256 to verify server certificates. When you see the padlock icon in your browser, SHA-256 is working behind it.

Bitcoin & blockchains — every block in the Bitcoin blockchain is hashed using SHA-256 twice (double SHA-256). Hundreds of billions of dollars in network security depend on its resilience.

Banking systems — transaction verification, database integrity, and audit trails across global financial institutions utilize SHA-256 as standard.

Software distribution — when downloading operating systems or applications, SHA-256 hashes verify that received files match published releases without transit tampering.

Security Note

To date, no successful collision attacks against SHA-256 have been recorded, unlike SHA-1, which was proven vulnerable in 2017 and is deprecated. VerixID explicitly uses SHA-256, avoiding SHA-1 or MD5.

How VerixID Uses SHA-256

At VerixID, hashing occurs entirely within your browser using the Web Crypto API — a built-in cryptographic interface standard in modern browsers. Files are never transmitted to our servers.

Only the 64-character hash value, alongside a timestamp and Record ID, is sent to the VerixID ledger. This ensures:

Architectural privacy — our servers are technically incapable of viewing your document contents since we never receive them.

Independent verification — anyone can independently verify document integrity by recalculating the file hash and comparing it against the recorded entry, without needing to trust VerixID.

Independent Verification — Without VerixID

You can prove file integrity independently without relying on VerixID systems:

Terminal / Command Line
Linux/Mac sha256sum document.pdf
Windows certutil -hashfile document.pdf SHA256
Output a3f8d2c1e9b4067f5d8a1c3e2b9f4d7a... document.pdf
// Compare this output with the SHA-256 Fingerprint on the VerixID Verify page

If results match, the document has remained unchanged since registration. If they differ, modification has occurred. No need to trust VerixID. Trust mathematics.

Mathematical proof, not institutional trust — trust is established not on VerixID's corporate reputation, but on two decades of proven mathematical properties of SHA-256.

Try It Now

Calculate Your Document Hash

Hashing runs directly in your browser — files are never sent anywhere. Experience your document's mathematical fingerprint firsthand.

Start at Audit Page

Frequently Asked Questions

No. SHA-256 is a one-way function. It is mathematically impossible to reconstruct the original file from its hash value — this is a mathematical limitation, not a technological one.
Theoretically possible (a collision), but practically impossible. The odds are 1 in $2^{256}$ — a number greater than the total count of atoms in the observable universe. No successful collision attack against SHA-256 has ever been recorded.
SHA-256 is an industry standard tested for over two decades, used by global banking systems, TLS/HTTPS, and Bitcoin. Its maturity, global adoption, and absence of known vulnerabilities make it the most credible choice for legal document integrity proof. Alternatives such as SHA-3 are newer and lack an equivalent track record.
It depends on the application used. Certain applications (like Microsoft Word) modify internal metadata upon resaving, which alters the hash. To prevent this, VerixID recommends hashing files before modification and storing original files in read-only formats after registration.