01 / A FINGERPRINTThe hash depends on the record.
Here, a real SHA-256 hash is computed from the block number, saved previous hash, and record text. The same input produces the same 64 hexadecimal digits. Change the input and its hash is overwhelmingly likely to change. A hash is not encryption.
02 / A LINKThe next block remembers.
Each block stores the previous block's hash. After an edit, this demo updates only the edited block's hash. The next block still refers to the old value, so the mismatch exposes the change. Later blocks inherit the broken history even if their immediate links match.
03 / A SHARED HISTORYHash links are not the whole system.
This is one editable local copy. Real blockchain networks also need rules for valid records and a way to agree on a history. Bitcoin combines independent validation with proof of work. Other blockchains can use different consensus mechanisms.