cleanup, docs
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
# crypto_equal
|
||||
|
||||
```cpp
|
||||
bool crypto_equal(String a, String b)
|
||||
```
|
||||
|
||||
Constant-time byte comparison for secrets such as MACs and tokens.
|
||||
|
||||
:example
|
||||
print(crypto_equal("abc", "abc") ? "same\n" : "different\n");
|
||||
|
||||
:see
|
||||
>noise
|
||||
|
||||
Reference in New Issue
Block a user