Constant-time test for equality.
WARNING: sodium_memcmp() must be used to verify if two secret keys are equal, in constant time. This function is not designed for lexicographical comparisons.
0 if the keys are equal, and -1 if they differ.
https://download.libsodium.org/doc/helpers#constant-time-test-for-equality
See Implementation
Constant-time test for equality.
WARNING: sodium_memcmp() must be used to verify if two secret keys are equal, in constant time. This function is not designed for lexicographical comparisons.