Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
CryptoError_ScalarMultiplicationInvalid :: CryptoErrorcryptonite Crypto.Error No documentation available.
CryptoError_SecretKeySizeInvalid :: CryptoErrorcryptonite Crypto.Error No documentation available.
CryptoError_SecretKeyStructureInvalid :: CryptoErrorcryptonite Crypto.Error No documentation available.
CryptoError_SeedSizeInvalid :: CryptoErrorcryptonite Crypto.Error No documentation available.
CryptoError_SharedSecretSizeInvalid :: CryptoErrorcryptonite Crypto.Error No documentation available.
-
cryptonite Crypto.KDF.Argon2 Argon2id is a hybrid of Argon2i and Argon2d, using a combination of data-depending and data-independent memory accesses, which gives some of Argon2i's resistance to side-channel cache timing attacks and much of Argon2d's resistance to GPU cracking attacks
validatePassword :: (ByteArray password, ByteArray hash) => password -> hash -> Boolcryptonite Crypto.KDF.BCrypt Check a password against a stored bcrypt hash when authenticating a user. Returns False if the password doesn't match the hash, or if the hash is invalid or an unsupported version.
-
cryptonite Crypto.KDF.BCrypt Check a password against a bcrypt hash As for validatePassword but will provide error information if the hash is invalid or an unsupported version.
-
cryptonite Crypto.PubKey.ECC.P256 Check if a Point is valid
isPointValid :: Curve -> Point -> Boolcryptonite Crypto.PubKey.ECC.Prim check if a point is on specific curve This perform three checks:
- x is not out of range
- y is not out of range
- the equation y^2 = x^3 + a*x + b (mod p) holds