Module 3 · Cryptography and PKI · Lesson 31 of 42

AMA: blockchain, public ledgers and cryptocurrency

A quick Q&A on how blockchain works: a decentralized public ledger kept honest by hashing and agreed on by many computers, with cryptocurrency and smart contracts as two uses.

In this lesson · about 8 minutes

  • Define a blockchain as a decentralized public ledger
  • Explain how hashing and distributed agreement keep it tamper-evident
  • Name cryptocurrency and smart contracts as blockchain uses

Cryptography shows up in places beyond encrypting files and logging in. One of the biggest is the blockchain. A learner asked: "What are blockchain, public ledgers and cryptocurrency?" Here's the short version.

A blockchain is a decentralized public ledger

A ledger is just a list of transactions. A blockchain is a public ledger (anyone can read it) that is decentralized: it doesn't live on one company's server. Instead, copies run on thousands of computers around the world. For a new transaction to be accepted, many of those computers have to agree it's valid (this agreement is called consensus). No single party can quietly change the record.

Hashing is what keeps it honest

Each block of transactions includes the hash of the block before it, chaining them together (that's the "chain" in blockchain). Change anything in an old block and its hash changes, which breaks every block after it, so tampering is obvious to everyone holding a copy. This is the integrity property of hashing you met earlier, used at scale.

Cryptocurrency is one use, not the whole story

When people hear "blockchain" they usually think cryptocurrency, such as Bitcoin or Ethereum. Those are digital currencies whose transactions (who paid whom) are recorded on a blockchain. But currency is just one application of the ledger.

Another is smart contracts: small programs stored on the blockchain that run automatically when their conditions are met. For example, a smart contract could release a royalty payment to an artist each time their work is used, with no middleman and a record everyone can verify.

For the exam, remember the essentials: a blockchain is a decentralized, public, append-only ledger whose integrity comes from hashing and whose entries are agreed by many independent computers. Cryptocurrency and smart contracts are uses built on top of it.

Key terms

Say the meaning to yourself, then tap a card to check.

Check your understanding0 of 4 correct

Question 1

1.What is a blockchain, in one phrase?

Question 2

2.What cryptographic property chains the blocks together and makes tampering obvious?

Question 3

3.Which statement is TRUE about cryptocurrency and blockchain?

Question 4

4.What does 'decentralized' mean for a blockchain?

Quiz score: 0 of 4

Tip: answer every quiz question correctly first.

Noviq Academy is free and for learning. This course is independent and is not affiliated with or endorsed by CompTIA. CompTIA and Security+ are trademarks of CompTIA, Inc. Exam details such as price and policies change; confirm them on CompTIA's website before you book.