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

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