Commit Graph

116 Commits

Author SHA1 Message Date
juanelas ba00a7c8d5 added deleted .gitignore 2020-04-06 19:03:38 +02:00
juanelas ed764d29be slighty faster _isProbablyPrume. node_modules removed from git 2020-04-06 19:01:44 +02:00
juanelas c852b82404 modular arithmetic 2020-04-06 15:31:05 +02:00
juanelas 18eabb6cd6 2.5.3 2020-04-06 14:18:01 +02:00
juanelas 4f1aa2d123 2.5.2 2020-04-06 14:17:28 +02:00
juanelas 4758f28ef0 shorter but better readme 2020-04-06 14:17:24 +02:00
juanelas 0526c330ed 2.5.1 2020-04-06 13:43:31 +02:00
juanelas 6cfee0efca fixed readme 2020-04-06 13:38:52 +02:00
juanelas 4e52ea75e6 JS Standard. Some fixes with the test. Better structure 2020-04-06 13:34:03 +02:00
juanelas c29b520108 JS Standard. Some fixes with the test. Better structure 2020-04-06 13:17:22 +02:00
juanelas 685bd1a538 2.5.2 2020-03-25 00:34:42 +01:00
juanelas d4ee54748b fixed JS Doc and typescript definitions 2020-03-25 00:34:22 +01:00
Juan Hernández Serrano 3602667de4
Merge pull request #5 from coffee-converter/fix-randBits
Fixes bug in randBits()
2020-03-25 00:18:59 +01:00
Coffee Converter 4de924a186 build 2.5.1 2020-03-24 16:01:09 -05:00
Coffee Converter 5701881360 2.5.1 2020-03-24 16:01:09 -05:00
Coffee Converter 155dd49434 slightly improves performance in randBits()
- only calculates (bitLength % 8) once
 - uses const where possible
2020-03-24 16:01:09 -05:00
Coffee Converter 36d9786b3d fixes bug in randBits()
- the bug was causing the whole first byte to be zeroed out when (bitLength % 8 === 0)
 - added a check of the above condition before zeroing out the extra bits
2020-03-24 16:01:09 -05:00
Coffee Converter 7bc770bb8c adds intelliJ settings folder to .gitignore 2020-03-24 13:28:56 -05:00
juanelas 463d6fd8b0 2.5.0 2020-03-15 17:06:14 +01:00
juanelas df7019fa68 issue #3 fixed. Better building process in general 2020-03-15 17:06:00 +01:00
juanelas ccd81abae1 code simplification 2020-03-03 09:43:13 +01:00
juanelas 676397d9ac 2.4.7 2020-03-03 09:36:16 +01:00
juanelas 5d2e2a7fd0 TypeScript definitions. Browser module defaults to minified ES6 2020-03-03 09:36:04 +01:00
juanelas 14008fade1 2.4.6 2020-03-02 23:17:25 +01:00
juanelas be910483f6 better packing for npn. better structure 2020-03-02 23:16:05 +01:00
juanelas f7f5b5a8f8 2.4.5 2020-03-02 11:08:48 +01:00
juanelas faf6f5023d BigInt is ES-2020 2020-03-02 11:08:40 +01:00
juanelas 459eddc6f1 2.4.4 2020-02-29 01:10:12 +01:00
juanelas f2e4954ec4 Browser tests now use the current mocha/chai versions. Pkg description updated 2020-02-29 01:10:07 +01:00
juanelas bbdee4b5a5 Browser tests now use the current mocha/chai versions. Pkg description updated 2020-02-29 01:07:20 +01:00
juanelas 1af645e98f 2.4.3 2020-02-27 21:51:56 +01:00
juanelas 5dbb6ddb93 updated readme: BigInt is now is es2020, instructions for typescript 2020-02-27 21:51:48 +01:00
juanelas 87d4c967fe 2.4.2 2019-12-20 17:07:39 +01:00
juanelas e0713c541e fixed documentation 2019-12-20 17:07:32 +01:00
juanelas 5c51fa3ade 2.4.1 2019-12-12 10:13:01 +01:00
juanelas 1fbb01815e README patched 2019-12-12 10:12:53 +01:00
juanelas a77349b73e more tests 2019-12-12 09:12:43 +01:00
juanelas a6ff8476d2 2.4.0 2019-12-12 09:11:43 +01:00
juanelas 5e722ddb13 browser minified version removed due to a bug. More browser tests added. Fixed tests 2019-12-12 09:10:26 +01:00
juanelas 84c8909174 browser minified version removed due to a bug. More browser tests added. 2019-12-12 09:03:42 +01:00
juanelas 84dc8b29d6 2.3.3 2019-12-09 13:18:20 +01:00
juanelas b6129550e5 Fixed prime fn doc in README 2019-12-09 13:18:10 +01:00
juanelas cbb64b5dd1 2.3.2 2019-12-09 13:15:00 +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 ef5d73a0e4 2.3.1 2019-10-09 14:56:32 +02:00
Juan Hernández Serrano ace7d479ee added sync version of prime 2019-10-09 14:56:11 +02:00
Juan Hernández Serrano 94e69a09ea 2.3.0 2019-10-09 14:17:19 +02:00
Juan Hernández Serrano 19dd8b6491 added sync version of prime 2019-10-09 14:17:03 +02:00
Juan Hernández Serrano dd8599fe08 updated dev dependencies with vulnerabilities 2019-10-09 10:50:14 +02:00
Juan Hernández Serrano cac3598a72 2.2.1 2019-07-20 10:45:12 +02:00