Demo 1: Blockchain
Links are on the platforms page. A suggested order:
- Hash. Change one character in the input and watch the hash change completely — determinism and the avalanche effect.
- Block. Introduce the nonce and “mining”; have students click Mine to see leading zeros appear — proof of work.
- Chain. Edit data in a middle block and watch all later blocks turn red — tampering cost grows with chain length.
- Distributed. Open several node views, tamper on one, and compare with others — how majority consensus detects a tampered replica.
- Tokens & transactions. Replace block contents with transfers to show the ledger–balance relationship.
Demo 2: Public/private keys and signatures
- Key pair. Generate a pair; the public key can be shared, the private key must stay secret.
- Signature. Sign a message with the private key and verify with the public key; verification fails after editing the message.
- Transaction. Replace the message with a transfer to show that the private key decides who can spend.
- Back to the chain. Put the signed transaction into a Demo 1 block to connect the whole picture.