Comparing large numbers.
sodium_compare() returns -1 if b1_ < b2_, 1 if b1_ > b2_ and 0 if b1_ == b2_
It is suitable for lexicographical comparisons, or to compare nonces
and counters stored in little-endian format.
However, it is slower than sodium_memcmp().
Comparing large numbers. sodium_compare() returns -1 if b1_ < b2_, 1 if b1_ > b2_ and 0 if b1_ == b2_ It is suitable for lexicographical comparisons, or to compare nonces and counters stored in little-endian format. However, it is slower than sodium_memcmp().