License | MIT |
---|---|
Maintainer | Joe Leslie-Hurd <joe@gilith.com> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
Documentation
millerRabinWitness :: Natural -> Natural -> Bool Source
previousPrime :: Natural -> Random -> Natural Source
nextPrime3Mod4 :: Natural -> Random -> Natural Source
nextPrime5Mod8 :: Natural -> Random -> Natural Source
randomPrime :: Natural -> Random -> Natural Source
randomPrime3Mod4 :: Natural -> Random -> Natural Source
randomPrime5Mod8 :: Natural -> Random -> Natural Source