Skip to content

Commit

Permalink
Hash was also fixed / incorrect on the server side
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Driscoll committed Oct 4, 2020
1 parent 06c1c8d commit 544ee6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generate/index.html.template
Original file line number Diff line number Diff line change
Expand Up @@ -1798,7 +1798,7 @@ a1 = HMAC-SHA256(key=MasterSecret, data=a0)
p1 = HMAC-SHA256(key=MasterSecret, data=a1 + seed)
verify_data = p1[first 12 bytes]
</pre>
The verify data calculated from this hash is <tt class="longboi">a0744dd49a212f152b3c060d</tt>.
The verify data calculated from this hash is <tt class="longboi">%0%1%2%3%4%5%6%7%8%9%10%11</tt>.
We can show this on the command line:
<codesample>
<pre><code>### set up our MasterSecret as a hex string
Expand Down
2 changes: 1 addition & 1 deletion site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1763,7 +1763,7 @@ <h3>Every byte of a TLS connection explained and reproduced.</h3>
p1 = HMAC-SHA256(key=MasterSecret, data=a1 + seed)
verify_data = p1[first 12 bytes]
</pre>
The verify data calculated from this hash is <tt class="longboi">a0744dd49a212f152b3c060d</tt>.
The verify data calculated from this hash is <tt class="longboi">844d3c10746dd722f92f0c7e</tt>.
We can show this on the command line:
<codesample>
<pre><code>### set up our MasterSecret as a hex string
Expand Down

0 comments on commit 544ee6a

Please sign in to comment.