Commit Graph

28 Commits

Author SHA1 Message Date
juanelas e0713c541e fixed documentation 2019-12-20 17:07:32 +01:00
juanelas b6129550e5 Fixed prime fn doc in README 2019-12-09 13:18:10 +01:00
juanelas 743b483072 Updated dependencies and fixed issue with default values in README 2019-12-09 13:14:47 +01:00
Juan Hernández Serrano ace7d479ee added sync version of prime 2019-10-09 14:56:11 +02:00
Juan Hernández Serrano 19dd8b6491 added sync version of prime 2019-10-09 14:17:03 +02:00
Juan Hernández Serrano f44f44d74d updated devDependencies. Fixed format 2019-07-20 10:45:02 +02:00
Juan Hernández Serrano af1592bc7e
fomat issues 2019-07-20 10:12:58 +02:00
Aisse-258 b38087c9a9 Max(a,b) and Min(a,b) functions 2019-07-14 12:21:50 +03:00
Juan Hernández Serrano 9cdf125c6f Slight modification of modPow(). Some non-important fixes 2019-05-29 17:44:18 +02:00
Juan Hernández Serrano e2f9b26c84 Fixed some comments and the dev dependencies 2019-05-28 18:07:34 +02:00
Juan Hernández Serrano 29b2665097 some small fixes 2019-05-27 16:42:46 +02:00
Juan Hernández Serrano 29cb31c1fa Fixed issue #1 - gcd works incorrect with 0. Some extra sanitizing 2019-05-09 09:39:12 +02:00
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 445c6ea913 (helpler) constants to the the top 2019-04-29 13:23:15 +02:00
Juan Hernández Serrano 42a0aba89a bitLength() is also exported (it could be useful) 2019-04-29 12:34:20 +02:00
Juan Hernández Serrano e572e9dba8 If it is not truly async then sync 2019-04-29 12:29:23 +02:00
juanelas 3f571c9dd6 If it is not truly async then is sync 2019-04-26 15:03:53 +02:00
Juan Hernández Serrano b2d2c4e794 typo 2019-04-24 13:17:29 +02:00
juanelas 6bb0b2f78e minor improvements in code structure 2019-04-23 16:57:06 +02:00
juanelas 4069f4a335 fixed typo 2019-04-23 15:22:48 +02:00
Juan Hernández Serrano 3f7caf4572 Fixed typo 2019-04-21 09:39:28 +02:00
Juan Hernández Serrano f48ae77485 Better JSDoc 2019-04-20 22:21:41 +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 788bcd219f Working! 2019-04-19 12:04:06 +02:00
Juan Hernández Serrano faefecc21d working with worker file 2019-04-19 09:42:28 +02:00