Example
Hash a tiny message with a visible rolling recurrence.
highlighted = computed this step
Step 1 — Set up
Set up the exact toy cryptography values.
message, base, modulus((7, 5, 4), 5, 17)
Step 2 — Hash byte 1
Compute the highlighted cryptography value.
index, byte, before, raw, hash(1, 7, 0, 7, 7)
Step 3 — Hash byte 2
Compute the highlighted cryptography value.
index, byte, before, raw, hash(2, 5, 7, 40, 6)
Step 4 — Hash byte 3
Compute the highlighted cryptography value.
index, byte, before, raw, hash(3, 4, 6, 34, 0)
Final Step — Hash
Compute the highlighted cryptography value.
toy hash0
cryptography
This lesson makes each hash update an explicit row instead of hiding it inside a black box.