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
- Crypto.Cipher.AESAES, 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.GCMAES-GCM for callers that send many short messages under one key, which is
- Crypto.Cipher.AESGCMSIVImplementation of AES-GCM-SIV, an AEAD scheme with nonce misuse resistance
- Crypto.Cipher.Blowfish
- Crypto.Cipher.CAST5
- Crypto.Cipher.CamelliaCamellia support. only 128 bit variant available for now.
- Crypto.Cipher.ChaCha
- Crypto.Cipher.ChaCha.Poly1305ChaCha20-Poly1305 (RFC 8439) a message at a time. Crypto.Cipher.ChaChaPoly1305 takes a message in pieces: a state is
- Crypto.Cipher.ChaChaPoly1305A simple AEAD scheme using ChaCha20 and Poly1305. See
- Crypto.Cipher.DESDES, which is here because callers still meet it rather than because it
- Crypto.Cipher.RC4Simple implementation of the RC4 stream cipher.
- Crypto.Cipher.Salsa
- Crypto.Cipher.TripleDES
- Crypto.Cipher.Twofish
- Crypto.Cipher.TypesSymmetric cipher basic types
- Crypto.Cipher.Utils
- Crypto.Cipher.XSalsaImplementation of XSalsa20 algorithm
- Crypto.ConstructHash.MiyaguchiPreneelProvide the hash function construction method from block cipher
- Crypto.Data.AFISHaskell implementation of the Anti-forensic information splitter
- Crypto.Data.PaddingVarious cryptographic padding commonly used for block ciphers
- Crypto.DebugPrinting secret key material, on purpose. The Show instance of a type that holds a secret does not print it. That
- Crypto.ECCElliptic Curve Cryptography Timing Curve_P256R1 reaches a dedicated implementation whose scalar
- Crypto.ECC.Edwards25519Arithmetic primitives over curve edwards25519. Twisted Edwards curves are a familly of elliptic curves allowing
- Crypto.Error
- Crypto.HashGeneralized cryptographic hash interface, that you can use with cryptographic hash
- Crypto.Hash.AlgorithmsDefinitions of known hash algorithms
- Crypto.Hash.IOGeneralized impure cryptographic hash interface
- Crypto.KDF.Argon2Argon2 hashing function (P-H-C winner) Recommended to use this module qualified File started from Argon2.hs, from Oliver Charles
- Crypto.KDF.BCryptPassword encoding and validation using bcrypt. Example usage: import Crypto.KDF.BCrypt (hashPassword, validatePassword) import qualified …
- Crypto.KDF.BCryptPBKDFPort of the bcrypt_pbkdf key derivation function from OpenBSD
- Crypto.KDF.HKDFKey Derivation Function based on HMAC See RFC5869
- Crypto.KDF.PBKDF2Password Based Key Derivation Function 2
- Crypto.KDF.ScryptScrypt key derivation function as defined in Colin Percival's paper
- Crypto.MAC.CMACProvide the CMAC (Cipher based Message Authentification Code) base algorithm.
- Crypto.MAC.HMACProvide the HMAC (Hash based Message Authentification Code) base algorithm.
- Crypto.MAC.KMACProvide the KMAC (Keccak Message Authentication Code) algorithm, derived from
- Crypto.MAC.KeyedBlake2Expose a MAC interface to the keyed Blake2 algorithms
- Crypto.MAC.Poly1305Poly1305 implementation
- Crypto.Number.Basic
- Crypto.Number.F2mThis module provides basic arithmetic operations over F₂m. Performance is
- Crypto.Number.Generate
- Crypto.Number.ModArithmeticModular arithmetic on Integer. What an Integer shows An Integer is as long as its value needs, and every operation on one
- Crypto.Number.NatNumbers at type level. This module provides extensions to GHC.TypeLits and GHC.TypeNats useful
- Crypto.Number.Prime
- Crypto.Number.SerializeFast serialization primitives for integer
- Crypto.Number.Serialize.LEFast serialization primitives for integer (little endian)
- Crypto.OTPOne-time password implementation as defined by the
- Crypto.PubKey.Curve25519Curve25519 support
- Crypto.PubKey.Curve448Curve448 support Internally uses Decaf point compression to omit the cofactor
- Crypto.PubKey.DH
- Crypto.PubKey.DSAAn 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.DHElliptic curve Diffie Hellman
- Crypto.PubKey.ECC.ECDSAWARNING: Signature operations may leak the private key. The nonce is
- Crypto.PubKey.ECC.GenerateSignature generation.
- Crypto.PubKey.ECC.P256P256 support
- Crypto.PubKey.ECC.PrimElliptic Curve Arithmetic. WARNING: These functions are vulnerable to timing attacks, except on
- Crypto.PubKey.ECC.Types
- Crypto.PubKey.ECDSAElliptic Curve Digital Signature Algorithm, with the parameterized
- Crypto.PubKey.ECIESIES with Elliptic curve https://en.wikipedia.org/wiki/Integrated_Encryption_Scheme This is a simple cryptographic system between 2 partie…
- Crypto.PubKey.Ed25519Ed25519 support
- Crypto.PubKey.Ed448Ed448 support Internally uses Decaf point compression to omit the cofactor
- Crypto.PubKey.EdDSAEdDSA signature generation and verification, implemented in Haskell and
- Crypto.PubKey.ElGamalElGamal encryption and signature over the multiplicative group of integers
- Crypto.PubKey.MaskGenFunction
- Crypto.PubKey.RSA
- Crypto.PubKey.RSA.OAEPRSA OAEP mode
- Crypto.PubKey.RSA.PKCS15
- Crypto.PubKey.RSA.PSS
- Crypto.PubKey.RSA.Prim
- Crypto.PubKey.RSA.Types
- Crypto.PubKey.Rabin.BasicRabin 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.ModifiedModified-Rabin public-key digital signature algorithm.
- Crypto.PubKey.Rabin.OAEPOAEP padding scheme.
- Crypto.PubKey.Rabin.RWRabin-Williams cryptosystem for public-key encryption and digital signature.
- Crypto.PubKey.Rabin.Types
- Crypto.Random
- Crypto.Random.Entropy
- Crypto.Random.Entropy.Unsafe
- Crypto.Random.EntropyPool
- Crypto.Random.Types
- Crypto.System.CPUGives information about crypton runtime environment.
- Crypto.TutorialExamples of how to use crypton.
Internal modules · 2
- Crypto.Number.Serialize.InternalFast serialization primitives for integer using raw pointers
- Crypto.Number.Serialize.Internal.LEFast 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