cprng-aes alternatives and similar packages
Based on the "Cryptography" category.
Alternatively, view cprng-aes alternatives based on common mentions on social networks and blogs.
-
merkle-tree
An implementation of a Merkle Tree and merkle tree proofs -
pedersen-commitment
An implementation of Pedersen commitment schemes -
arithmetic-circuits
Arithmetic circuits for zero knowledge proof systems -
galois-field
Finite field and algebraic extension field arithmetic -
oblivious-transfer
Oblivious transfer for multiparty computation -
cryptohash
efficient and practical cryptohashing in haskell. DEPRECATED in favor of cryptonite -
elliptic-curve
A polymorphic interface for elliptic curve operations -
cipher-blowfish
DEPRECATED by cryptonite; A collection of cryptographic block and stream ciphers in haskell -
ed25519
Minimal ed25519 Haskell package, binding to the ref10 SUPERCOP implementation. -
cipher-aes
DEPRECATED - use cryptonite - a comprehensive fast AES implementation for haskell that supports aesni and advanced cryptographic modes. -
crypto-api
Haskell generic interface (type classes) for cryptographic algorithms -
signable
Deterministic serialisation and signatures with proto-lens and protobuf-elixir support -
skein
Skein, a family of cryptographic hash functions. Includes Skein-MAC as well. -
galois-fft
Finite field polynomial arithmetic based on fast Fourier transforms -
qnap-decrypt
Decrypt files encrypted by the QNAP's Hybrid Backup Sync -
cryptohash-sha256
Fast, pure and practical SHA-256 implementation -
crypto-pubkey-types
Crypto Public Key algorithm generic types. -
crypto-pubkey
DEPRECATED - use cryptonite - Cryptographic public key related algorithms in haskell (RSA,DSA,DH,ElGamal) -
cipher-aes128
Based on cipher-aes, but using a crypto-api interface and providing resulting IVs for each mode -
crypto-enigma
A Haskell Enigma machine simulator with rich display and machine state details. -
crypto-numbers
DEPRECATED - use cryptonite - Cryptographic number related function and algorithms
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of cprng-aes or a related project?
README
CPRNG-AES
This module provides a crypto pseudo random number generator using AES in counter mode.
to import:
import Crypto.Random.AESCtr
to use:
rng <- makeSystem
let (ran, rng') = getRandomBytes rng 1024
it's also an instance of CryptoRandomGen from the crypto-api package.
Statistics
Using ent, a randomness property maker on one 1Mb sample.
cprng-AES:
Entropy = 7.999837 bits per byte.
Optimum compression would reduce the size of this 1048576 byte file by 0 percent.
Chi square distribution for 1048576 samples is 237.02.
Arithmetic mean value of data bytes is 127.3422 (127.5 = random).
Monte Carlo value for Pi is 3.143589568 (error 0.06 percent).
Compared to urandom with the same sampling:
Entropy = 7.999831 bits per byte.
Optimum compression would reduce the size of this 1048576 byte file by 0 percent.
Chi square distribution for 1048576 samples is 246.63.
Arithmetic mean value of data bytes is 127.6347 (127.5 = random).
Monte Carlo value for Pi is 3.132465868 (error 0.29 percent).