We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b1b32c commit 56ed6dbCopy full SHA for 56ed6db
lib/plug/crypto.ex
@@ -123,7 +123,7 @@ defmodule Plug.Crypto do
123
@doc """
124
Compares the two binaries in constant-time to avoid timing attacks.
125
126
- See: http://codahale.com/a-lesson-in-timing-attacks/
+ See: https://en.wikipedia.org/wiki/Timing_attack
127
"""
128
@spec secure_compare(binary(), binary()) :: boolean()
129
def secure_compare(left, right) when is_binary(left) and is_binary(right) do
0 commit comments