Commit Graph

188 Commits

Author SHA1 Message Date
juanelas 4cc946725a Examples ommited for NPM pack 2020-04-08 17:11:47 +02:00
juanelas 9cc950fad3 Examples of code 2020-04-08 17:10:22 +02:00
juanelas 0524f41a3f Examples of code. If a webview doesn't support Web Workers, they are not used 2020-04-08 17:09:52 +02:00
juanelas 49bd34b7e9 more clear config 2020-04-08 11:37:02 +02:00
juanelas 4e423816b4 iife bundle renamed 2020-04-08 00:21:28 +02:00
juanelas 70a32d0286 better dependencies 2020-04-08 00:21:02 +02:00
juanelas e7da55c352 3.0.0 2020-04-07 19:51:26 +02:00
juanelas 6d6e8e7658 new tests for bitlengths that are not multiple of 8 2020-04-07 19:49:57 +02:00
juanelas c89d507a64 randBitsSync 2020-04-07 19:46:42 +02:00
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