sodiumMemcmp Compares the given amount of bytes at the given locations for equality. Constant-time for any given length.
See: sodium_memcmp()
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11
Modulelibsodium-bindings-0.0.3.0Haskell2010
Secure comparison functions, designed to run in constant time for a given input length.
sodiumMemcmp Compares the given amount of bytes at the given locations for equality. Constant-time for any given length.
See: sodium_memcmp()
sodiumCompare Lexicographically compares the requested bytes of the given pointers in constant time.
See: sodium_compare()
sodiumIsZero Checks if the given number of bytes at the given location are all equal to zero. Constant-time for any given length.
See: sodium_is_zero()