uce/site/doc/pages/crypto_equal.txt
2026-06-16 12:21:31 +00:00

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