value
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 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Modulelibsodium-bindings-0.0.1.1Haskell2010
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()
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()