Crypto-4.2.5.1: Collects together existing Haskell cryptographic functions into a package

Safe Haskell | Safe
Language | Haskell98

Codec.Encryption.RSA.NumberTheory

# Documentation

inverse :: Integer -> Integer -> Integer

extEuclGcd :: Integer -> Integer -> (Integer, Integer)

simplePrimalityTest :: Integer -> Bool

getPrime :: Int -> IO Integer

pg :: Integer -> Integer -> Integer -> IO Integer

isPrime :: Integer -> IO Bool

rabinMillerPrimalityTest :: Integer -> IO Bool

expmod :: Integer -> Integer -> Integer -> Integer

factor :: Integer -> [Int]

testInverse :: Integer -> Integer -> Bool

primes :: [Integer]

(/|) :: Integer -> Integer -> Bool

randomOctet :: Int -> IO String