License | MIT |
---|---|
Maintainer | Joe Leslie-Hurd <joe@gilith.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
Documentation
factorTwos :: Natural -> (Int, Natural) Source
millerRabinWitness :: Natural -> Natural -> Bool Source
previousPrime :: Natural -> Random -> Natural Source
randomPrime :: Int -> Random -> Natural Source