Blockchain and Trust Infrastructure Engineer · Focus area 1: Cryptography fundamentals
BC1: Hashes: fingerprints for data
Goal: understand what a cryptographic hash is and what it promises, use hash chains to make changes to old records visible, prove that one record belongs to a large set with a Merkle tree, hide a value until later with a commitment, and choose and use hash functions correctly.
You'll need: Module 21 (Arrays and Objects), Module 23 (Functions and Scope), Module 77 (Encryption and Secrets), and the SakhiKosh
practice kit (README.md, docs/FORMATS.md).
Where this is used: every blockchain links its blocks with hashes; software downloads, Git commits, backup checks, certificate transparency logs and document timestamping services all rely on them.
How it differs: in an ordinary app, a record is trusted because the company's database says so. In a shared record, there's no single company to trust, so the record has to show for itself whether it has been changed. Hashes are the first tool for that.
Time: reading about 2½ hours · practice (the Try it tasks) about 2 hours · assignment about 3 hours.
Lessons
- 1What a hash is, and what it promisesReading 15–25 minutes, plus practice✓
- 2Hash chains: making changes to old records visibleReading 15–25 minutes, plus practice✓
- 3Merkle trees: proving one record is in a big setReading 15–25 minutes, plus practice✓
- 4Commitments and salts: hiding a value until laterReading 15–25 minutes, plus practice✓
- 5Using hashes wellReading 15–25 minutes, plus practice✓
🛠️Assignment: A tamper-evident record for SakhiKosh
- Write a small Node.js script that hashes the group's five opening deposits from
data/members.jsoninto a hash chain, and prints the latest hash. - Build a Merkle root of the same five records and an inclusion proof for M03's record.
- Write a commit-reveal plan for a members' vote, with salts.
- Write half a page on what your hash chain proves and what it doesn't.
Self-check before you finish:
- [ ] Changing any record changes the latest hash.
- [ ] The proof for M03 checks against the root.
- [ ] The vote plan uses a fresh random salt for each member.
- [ ] Your write-up says the chain shows changes but doesn't prove who made the records.
✅Module check
Explain in a few sentences, in your own words:
How do hashes help people trust a record without trusting the person who keeps it?
Show a good answer
A good answer mentions: a fixed-length fingerprint that changes completely with any change and can't be reversed; hash chains that make changes to old entries visible to anyone holding a later hash; Merkle trees for short proofs that one record is included; salted commitments for values that must stay hidden until later; and choosing a standard function, agreeing the exact bytes, and remembering that hashes show integrity, not who made the data.
📚Official references
Official documentation and guidance for this module's topics, chosen on 2 November 2026. Tools, laws and standards change, so check the current version before you rely on a detail. If a link has moved, search the same site.
📝Module quiz
10 questions · 10 marks each · 100 marks in all · pass mark 70% · retry as often as you like ·
