Commit Graph

9 Commits

Author SHA1 Message Date
Juan Hernández Serrano abf020f06e also check if a number (not only a BigInt) is prime 2019-05-04 18:29:09 +02:00
Juan Hernández Serrano 1ffd1f949d More tests. Fixed bug in modInv(a,n) when a was < 0 2019-05-04 18:08:30 +02:00
Juan Hernández Serrano 42a0aba89a bitLength() is also exported (it could be useful) 2019-04-29 12:34:20 +02:00
juanelas 3f571c9dd6 If it is not truly async then is sync 2019-04-26 15:03:53 +02:00
juanelas 6bb0b2f78e minor improvements in code structure 2019-04-23 16:57:06 +02:00
Juan Hernández Serrano f2d6043ee7 ready for node worker threads 2019-04-20 22:11:44 +02:00
Juan Hernández Serrano de00327fd8 better README 2019-04-19 16:40:11 +02:00
Juan Hernández Serrano 12a78d9495 more prime validation tests 2019-04-19 16:17:09 +02:00
Juan Hernández Serrano 066352b391 Working! 2019-04-19 12:05:37 +02:00