11 lines
169 B
Plaintext
11 lines
169 B
Plaintext
# crypto_equal
|
|
|
|
|
|
Constant-time byte comparison for secrets such as MACs and tokens.
|
|
|
|
:example
|
|
print(crypto_equal("abc", "abc") ? "same\n" : "different\n");
|
|
|
|
:see
|
|
>noise
|