Skip to content

Commit 56ed6db

Browse files
authored
Update the 404 link with Wikipedia entry on timing attack (#51)
1 parent 8b1b32c commit 56ed6db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plug/crypto.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ defmodule Plug.Crypto do
123123
@doc """
124124
Compares the two binaries in constant-time to avoid timing attacks.
125125
126-
See: http://codahale.com/a-lesson-in-timing-attacks/
126+
See: https://en.wikipedia.org/wiki/Timing_attack
127127
"""
128128
@spec secure_compare(binary(), binary()) :: boolean()
129129
def secure_compare(left, right) when is_binary(left) and is_binary(right) do

0 commit comments

Comments
 (0)