Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
c_constTimeEq :: Ptr CChar -> Ptr CChar -> CInt -> IO CIntcrypto-api Crypto.Util No documentation available.
constTimeEq :: ByteString -> ByteString -> Boolcrypto-api Crypto.Util Checks two bytestrings for equality without breaches for timing attacks. Semantically, constTimeEq = (==). However, x == y takes less time when the first byte is different than when the first byte is equal. This side channel allows an attacker to mount a timing attack. On the other hand, constTimeEq always takes the same time regardless of the bytestrings' contents, unless they are of difference size. You should always use constTimeEq when comparing secrets, otherwise you may leave a significant security hole (cf. http://codahale.com/a-lesson-in-timing-attacks/).
leftIdentityOnElemWithEquality :: (b -> a -> a) -> (a -> a -> Bool) -> b -> a -> Boolgenvalidity-property Test.Validity.Operations.Identity -
genvalidity-property Test.Validity.Operations.Identity No documentation available.
rightIdentityOnElemWithEquality :: (a -> b -> a) -> (a -> a -> Bool) -> b -> a -> Boolgenvalidity-property Test.Validity.Operations.Identity -
genvalidity-property Test.Validity.Operations.Identity No documentation available.
antisymmetricOnElemsWithEquality :: (a -> a -> Bool) -> (a -> a -> Bool) -> a -> a -> Boolgenvalidity-property Test.Validity.Property -
genvalidity-property Test.Validity.Property No documentation available.
leftIdentityOnElemWithEquality :: (b -> a -> a) -> (a -> a -> Bool) -> b -> a -> Boolgenvalidity-property Test.Validity.Property -
genvalidity-property Test.Validity.Property No documentation available.