Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in Lecture 3 #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lectures/lec03.tex
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ \subsection{Domain Separation}
\paragraph{Bad idea.} An obvious solution to construct the two-input hash function $H_2$
is to concatenate the two values, so that $H_2(x, y) = H(x || y)$.
However, this construction allows two different pairs of messages to hash to the same value:
\[ _2(\text{"key", "value"}) = H_2(\text{"ke", "yvalue"}).\]
\[ H_2(\text{"key", "value"}) = H_2(\text{"ke", "yvalue"}).\]
Both Amazon and Flickr had a bug arising from
this---they concatenated all parameters before
hashing, and had parameters such that two
Expand Down