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 Source #

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

simplePrimalityTest :: Integer -> Bool Source #

getPrime :: Int -> IO Integer Source #

pg :: Integer -> Integer -> Integer -> IO Integer Source #

isPrime :: Integer -> IO Bool Source #

rabinMillerPrimalityTest :: Integer -> IO Bool Source #

expmod :: Integer -> Integer -> Integer -> Integer Source #

factor :: Integer -> [Int] Source #

testInverse :: Integer -> Integer -> Bool Source #

primes :: [Integer] Source #

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

randomOctet :: Int -> IO String Source #