Package2.1.7Cryptography
crypton
Cryptography Primitives
- Version2.1.7
- CategoryCryptography
- LicenceBSD-3-Clause AND MIT AND ISC
- AuthorVincent Hanquez <vincent@snarc.org>
- MaintainerKazu Yamamoto <kazu@iij.ad.jp>
- Homepagegithub.com/kazu-yamamoto/crypton
- Pinned byhackage crypton 2.1.7
- Sourcehackage.haskell.org/package/crypton-2.1.7
Modules
84 modules- Crypto.Cipher.AES3AES, in the modes Crypto.Cipher.Types defines. Which implementation runs Where the processor has instructions for AES -- AES-NI on x86-64…
- Crypto.Cipher.AES.GCM8AES-GCM for callers that send many short messages under one key, which is
- Crypto.Cipher.AESGCMSIV5Implementation of AES-GCM-SIV, an AEAD scheme with nonce misuse resistance
- Crypto.Cipher.Blowfish5
- Crypto.Cipher.CAST51
- Crypto.Cipher.Camellia1Camellia support. only 128 bit variant available for now.
- Crypto.Cipher.ChaCha10
- Crypto.Cipher.ChaCha.Poly13055ChaCha20-Poly1305 (RFC 8439) a message at a time. Crypto.Cipher.ChaChaPoly1305 takes a message in pieces: a state is
- Crypto.Cipher.ChaChaPoly130518A simple AEAD scheme using ChaCha20 and Poly1305. See
- Crypto.Cipher.DES1DES, which is here because callers still meet it rather than because it
- Crypto.Cipher.RC44Simple implementation of the RC4 stream cipher.
- Crypto.Cipher.Salsa4
- Crypto.Cipher.TripleDES4
- Crypto.Cipher.Twofish3
- Crypto.Cipher.Types24Symmetric cipher basic types
- Crypto.Cipher.Utils1
- Crypto.Cipher.XSalsa5Implementation of XSalsa20 algorithm
- Crypto.ConstructHash.MiyaguchiPreneel3Provide the hash function construction method from block cipher
- Crypto.Data.AFIS4Haskell implementation of the Anti-forensic information splitter
- Crypto.Data.Padding3Various cryptographic padding commonly used for block ciphers
- Crypto.Debug2Printing secret key material, on purpose. The Show instance of a type that holds a secret does not print it. That
- Crypto.ECC12Elliptic Curve Cryptography Timing Curve_P256R1 reaches a dedicated implementation whose scalar
- Crypto.ECC.Edwards2551917Arithmetic primitives over curve edwards25519. Twisted Edwards curves are a familly of elliptic curves allowing
- Crypto.Error7
- Crypto.Hash16Generalized cryptographic hash interface, that you can use with cryptographic hash
- Crypto.Hash.Algorithms48Definitions of known hash algorithms
- Crypto.Hash.IO7Generalized impure cryptographic hash interface
- Crypto.KDF.Argon28Argon2 hashing function (P-H-C winner) Recommended to use this module qualified File started from Argon2.hs, from Oliver Charles
- Crypto.KDF.BCrypt6Password encoding and validation using bcrypt. Example usage: import Crypto.KDF.BCrypt (hashPassword, validatePassword) import qualified …
- Crypto.KDF.BCryptPBKDF5Port of the bcrypt_pbkdf key derivation function from OpenBSD
- Crypto.KDF.HKDF6Key Derivation Function based on HMAC See RFC5869
- Crypto.KDF.PBKDF211Password Based Key Derivation Function 2
- Crypto.KDF.Scrypt3Scrypt key derivation function as defined in Colin Percival's paper
- Crypto.MAC.CMAC3Provide the CMAC (Cipher based Message Authentification Code) base algorithm.
- Crypto.MAC.HMAC8Provide the HMAC (Hash based Message Authentification Code) base algorithm.
- Crypto.MAC.KMAC8Provide the KMAC (Keccak Message Authentication Code) algorithm, derived from
- Crypto.MAC.KeyedBlake29Expose a MAC interface to the keyed Blake2 algorithms
- Crypto.MAC.Poly130511Poly1305 implementation
- Crypto.Number.Basic7
- Crypto.Number.F2m11This module provides basic arithmetic operations over F₂m. Performance is
- Crypto.Number.Generate5
- Crypto.Number.ModArithmetic10Modular arithmetic on Integer. What an Integer shows An Integer is as long as its value needs, and every operation on one
- Crypto.Number.Nat6Numbers at type level. This module provides extensions to GHC.TypeLits and GHC.TypeNats useful
- Crypto.Number.Prime9
- Crypto.Number.Serialize4Fast serialization primitives for integer
- Crypto.Number.Serialize.LE4Fast serialization primitives for integer (little endian)
- Crypto.OTP12One-time password implementation as defined by the
- Crypto.PubKey.Curve255199Curve25519 support
- Crypto.PubKey.Curve4489Curve448 support Internally uses Decaf point compression to omit the cofactor
- Crypto.PubKey.DH10
- Crypto.PubKey.DSA14An implementation of the Digital Signature Algorithm (DSA) What is kept from the clock, and what is not Signing keeps the private number …
- Crypto.PubKey.ECC.DH8Elliptic curve Diffie Hellman
- Crypto.PubKey.ECC.ECDSA20WARNING: Signature operations may leak the private key. The nonce is
- Crypto.PubKey.ECC.Generate2Signature generation.
- Crypto.PubKey.ECC.P25632P256 support
- Crypto.PubKey.ECC.Prim15Elliptic Curve Arithmetic. WARNING: These functions are vulnerable to timing attacks, except on
- Crypto.PubKey.ECC.Types13
- Crypto.PubKey.ECDSA20Elliptic Curve Digital Signature Algorithm, with the parameterized
- Crypto.PubKey.ECIES2IES with Elliptic curve https://en.wikipedia.org/wiki/Integrated_Encryption_Scheme This is a simple cryptographic system between 2 partie…
- Crypto.PubKey.Ed2551914Ed25519 support
- Crypto.PubKey.Ed44814Ed448 support Internally uses Decaf point compression to omit the cofactor
- Crypto.PubKey.EdDSA18EdDSA signature generation and verification, implemented in Haskell and
- Crypto.PubKey.ElGamal14ElGamal encryption and signature over the multiplicative group of integers
- Crypto.PubKey.MaskGenFunction2
- Crypto.PubKey.RSA7
- Crypto.PubKey.RSA.OAEP6RSA OAEP mode
- Crypto.PubKey.RSA.PKCS1510
- Crypto.PubKey.RSA.PSS11
- Crypto.PubKey.RSA.Prim2
- Crypto.PubKey.RSA.Types10
- Crypto.PubKey.Rabin.Basic10Rabin cryptosystem for public-key cryptography and digital signature. What is kept from the clock, and what is not The square roots modul…
- Crypto.PubKey.Rabin.Modified5Modified-Rabin public-key digital signature algorithm.
- Crypto.PubKey.Rabin.OAEP4OAEP padding scheme.
- Crypto.PubKey.Rabin.RW8Rabin-Williams cryptosystem for public-key encryption and digital signature.
- Crypto.PubKey.Rabin.Types3
- Crypto.Random16
- Crypto.Random.Entropy1
- Crypto.Random.Entropy.Unsafe4
- Crypto.Random.EntropyPool4
- Crypto.Random.Types4
- Crypto.System.CPU2Gives information about crypton runtime environment.
- Crypto.Tutorial0Examples of how to use crypton.
Internal modules · 2
- Crypto.Number.Serialize.Internal3Fast serialization primitives for integer using raw pointers
- Crypto.Number.Serialize.Internal.LE3Fast serialization primitives for integer using raw pointers (little endian)
Description
crypton is a low-level cryptography library. To achieve high performance, it utilizes C and assembly language to define FFI bindings, structuring them in a way that makes them easy to use.
Depends on
8 packages- base-4.23.0.0with GHC
- base16-1.0in this set
- bytestring-0.12.2.0with GHC
- deepseq-1.5.2.0with GHC
- integer-gmp-1.1with GHC
- primitive-0.9.1.0in this set
- ram-0.22.1in this set
- text-2.1.4with GHC