Commit Graph

229 Commits

Author SHA1 Message Date
juanelas 7e792b5e2e randBitsSync 2020-04-07 19:41:29 +02:00
juanelas eaf7c53ca2 randBitsSync 2020-04-07 19:36:14 +02:00
juanelas 5c410d60c1 randBitsSync 2020-04-07 19:35:38 +02:00
juanelas c52d54f66b randBitsSync 2020-04-07 19:29:23 +02:00
juanelas 29faa429bb 2.5.6 2020-04-07 19:26:36 +02:00
juanelas 818c3b09f3 fixed bug in prime bitlength. Fixed dts 2020-04-07 19:26:26 +02:00
juanelas 094df8068f 2.5.5 2020-04-07 19:14:27 +02:00
juanelas f8ee1a076c added tersed mod bundle 2020-04-07 19:14:09 +02:00
juanelas 31af1f7e8a fixed API reference 2020-04-07 19:13:23 +02:00
juanelas 66b4d7fad1 deleted tests that are already performed in the bigint-mod-arith package 2020-04-07 17:08:24 +02:00
juanelas 069f8891d7 2.5.4 2020-04-07 17:04:41 +02:00
juanelas d2a21a818f Now the bundle can be mangled. Multi-threaded uses all CPUs but 1. Readme improvements 2020-04-07 17:03:30 +02:00
Juan Hernández Serrano e945922b8b
no dist files to ignore 2020-04-06 19:05:24 +02:00
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