cryptonite/Crypto/Number
Colin Atkinson 345f4cd141 Fix bug in isProbablyPrime for small numbers
Fix bug in isProbablyPrime where too many iterations were specified for numbers less than 100

Add clause to isProbablyPrime to use hardcoded values <= 2903
2017-01-19 00:11:39 -05:00
..
Serialize [number] internal serialize, unconditionally zero the buffer. 2015-06-01 13:02:53 +01:00
Basic.hs [number] add helpers to get bits size ond bytes size 2015-05-23 09:16:36 +01:00
Compat.hs removed bounded names for useless parameter 2016-02-04 07:28:42 +00:00
F2m.hs Restore import of <$> 2016-07-24 14:54:22 +02:00
Generate.hs [number] correct tweak function to mask things properly 2015-05-23 17:09:07 +01:00
ModArithmetic.hs [number] cleanup 2015-06-01 11:50:24 +01:00
Prime.hs Fix bug in isProbablyPrime for small numbers 2017-01-19 00:11:39 -05:00
Serialize.hs Document the arguments for DH.generateParams 2015-11-03 20:20:53 +08:00