Start a toy HTTPS handshake with a client random and one offered cipher suite. This is toy arithmetic only, not deployable security.

Example

Start a toy HTTPS handshake with a client random and one offered cipher suite.

highlighted = computed this step

Step 1 — Client random

Compute the highlighted cryptography value.

client_random4\begin{array}{c|c}\text{client\_random}&\hlmath{\text{4}}\end{array}

Step 2 — Offered suite

Compute the highlighted cryptography value.

suiteTOY_DHE_RSA_WITH_XOR8_SUM\begin{array}{c|c}\text{suite}&\hlmath{\text{TOY\_DHE\_RSA\_WITH\_XOR8\_SUM}}\end{array}

Step 3 — Key exchange

Compute the highlighted cryptography value.

key exchangeDHE\begin{array}{c|c}\text{key exchange}&\hlmath{\text{DHE}}\end{array}

Step 4 — Bulk and hash

Compute the highlighted cryptography value.

bulk, hash(XOR8, SUM)\begin{array}{c|c}\text{bulk, hash}&\hlmath{\text{(XOR8, SUM)}}\end{array}
cryptography This lesson follows a tiny HTTPS-like protocol sequence so every value can be checked by hand.