Most blockchain proposals include a line saying the ledger is secured by cryptography. For the architects, security leads and product owners asked to evaluate those proposals, that line carries a lot of weight and explains very little. It is hard to judge a design, challenge a vendor or approve a pilot when the security claims rest on terms nobody in the room can define.

The good news is that the working concepts are few. Three ideas do most of the work: hash functions, public and private key pairs, and, increasingly, zero-knowledge proofs. All three can be understood without the underlying mathematics. Each one makes a specific promise, and each promise has limits that matter when a system goes into production.

What a hash function guarantees

A cryptographic hash function takes any input, from a single word to an entire block of transactions, and produces a short output of fixed size called a hash or digest. It works as a fingerprint for data. Three properties make it useful:

  • Determinism. The same input always produces the same hash, so anyone can recompute it and check the result.
  • One-wayness. Given a hash, it is infeasible to work back to the input that produced it.
  • Collision resistance. It is impractical to find two different inputs that produce the same hash.

A further property follows from these: even a tiny change to the input produces a completely different hash. Comparing two hashes is therefore a fast and reliable way to confirm that data has not been altered, without comparing the data itself line by line.

Hashing guarantees integrity. It does not, on its own, provide confidentiality. If the possible inputs are few or predictable, an attacker can simply hash each candidate and look for a match, so a hash should not be treated as a way to hide sensitive values.

Key pairs and digital signatures

Public key cryptography gives each participant a pair of mathematically related keys. The private key is kept secret. The public key can be shared with anyone. The relationship runs one way: the public key is easy to compute from the private key, but recovering the private key from the public key is considered practically impossible.

That one-way relationship comes from mathematical problems that are easy to perform in one direction and very hard to reverse. Multiplying two large prime numbers is quick, while factoring the result back into those primes is extremely difficult. Elliptic curve cryptography, widely used in blockchains, relies on a related hard problem involving points on a curve. These problems are not proven to be unsolvable. They are widely accepted as hard because no efficient method for solving them is known.

Blockchains use key pairs mainly for digital signatures. The owner of a private key uses it to sign a transaction. Anyone holding the matching public key can verify that the signature is valid. A valid signature shows two things: the transaction was authorized by the holder of that private key, and it has not been changed since it was signed. Because a signature cannot be produced without the private key, the signer cannot later plausibly deny it.

How hashes and signatures secure a blockchain

A blockchain combines these two tools at several layers:

  • Addresses. An address is typically derived by hashing a public key and encoding the result. Users can share addresses openly to receive funds without exposing their private keys. Addresses are pseudonymous: they are not tied to a name, but every transaction linked to them is visible on a public ledger.
  • Transactions. To move assets, the owner signs a transaction with the private key. Network nodes check the signature against the public key associated with the address before accepting it, which prevents forgery and tampering.
  • Linking blocks. Each block contains the hash of the block before it. Changing any historical record would change that block's hash, which would break the link to every block that follows. This is what makes the ledger tamper-evident.
  • Summarizing data. Many blockchains organize records in a Merkle tree, where individual items are hashed, those hashes are combined and hashed again, and so on up to a single root hash. One root then represents the entire set, and any single record can be checked against it efficiently.
  • Consensus. In proof-of-work systems, miners repeatedly vary a value in a candidate block until its hash falls below a target. Finding such a hash takes substantial computation, but checking it takes one step. In proof-of-stake and delegated systems, validators sign the blocks they produce, and nodes accept only blocks carrying valid signatures from recognized validator keys.

Together, these mechanisms let participants who do not know or trust one another agree on a shared record and verify who authorized each change.

Zero-knowledge proofs and privacy

The transparency that makes a public blockchain auditable also creates a privacy problem. Senders, receivers and amounts are often visible to anyone, which is a poor fit for many business and personal transactions.

Zero-knowledge proofs address this. They allow one party, the prover, to convince another, the verifier, that a statement is true without revealing the information behind it. A zk-SNARK (zero-knowledge succinct non-interactive argument of knowledge) is a form of this proof with two practical features: the proof is small and quick to verify, and verification needs no back-and-forth between the parties.

Applied to a blockchain, this means a transaction can be confirmed as valid, with sufficient funds and correct authorization, while the details stay hidden. Some designs support selective disclosure, where a participant can reveal specific details to an auditor or regulator while keeping other transactions private. Compared with earlier privacy techniques based on mixing or ring signatures, succinct proofs add relatively little data to the chain.

The trade-off is in the setup. Many zk-SNARK systems depend on an initial setup process that generates the public parameters used to create and check proofs. If the secret material from that setup is not properly destroyed, someone holding it could forge proofs. Teams evaluating a system that uses zk-SNARKs should ask how its setup was performed and what assumptions it relies on.

Where theory meets operations

For most organizations, the hardest part of blockchain cryptography is operational: how keys are generated, stored, used and recovered. Every guarantee described above assumes the private key remains secret. Anyone who obtains it can sign as its owner, and a lost key can mean permanently lost access. Key management therefore deserves its own design, controls and review, and we cover it in a separate article.

It is also worth recognizing that these protections rest on hardness assumptions. Advances in mathematics or in quantum computing could weaken some of today's signature schemes, which is why research into post-quantum cryptography continues. Teams planning long-lived systems should ask how a platform would change its cryptography if it needed to.

Building a working command of the concepts

Evaluating blockchain proposals well requires a shared vocabulary across technology, architecture, security and product teams. Blockchain+ is designed to provide it and has no prerequisite. Its courses include Web3 Foundations, Blockchain Foundations, Bitcoin Past, Present and Future, Blockchain Development Decision, and Understanding L1 and L2 Blockchains.

The Web3 Academy delivers the training; the Web3 Certification Board (W3CB) sets the exam and issues the certification, with the exam seat included in the training price.