Example
Hash the handshake transcript and compute a tiny finished tag.
highlighted = computed this step
Step 1 — Transcript bytes
Set up the exact toy cryptography values.
client_random, server_random, A, B, cert_digest(4, 9, 8, 19, 8)
Step 2 — Hash byte
Compute the highlighted cryptography value.
byte, before, raw, hash mod 17(4, 0, 4, 4)
Step 3 — Hash byte
Compute the highlighted cryptography value.
byte, before, raw, hash mod 17(9, 4, 29, 12)
Step 4 — Hash byte
Compute the highlighted cryptography value.
byte, before, raw, hash mod 17(8, 12, 68, 0)
Step 5 — Hash byte
Compute the highlighted cryptography value.
byte, before, raw, hash mod 17(19, 0, 19, 2)
Step 6 — Hash byte
Compute the highlighted cryptography value.
byte, before, raw, hash mod 17(8, 2, 18, 1)
Final Step — Finished tag
Compute the highlighted cryptography value.
(transcript_hash + shared) mod 17(1, 2, 3)
cryptography
This lesson follows a tiny HTTPS-like protocol sequence so every value can be checked by hand.