Commit Graph

199 Commits

Author SHA1 Message Date
juanelas c246ef34f2 JSDoc throws. API is now sorted by function name 2020-04-21 10:06:04 +02:00
juanelas 4f9659707f 3.0.3 2020-04-21 02:58:04 +02:00
juanelas d7d7b368b6 fixed readme 2020-04-21 02:57:30 +02:00
juanelas c0fe8fac06 3.0.2 2020-04-21 02:42:23 +02:00
juanelas 04cad8250b fixed browser tests 2020-04-21 02:41:32 +02:00
juanelas 2179954b1e fixed doc 2020-04-21 01:33:41 +02:00
juanelas 9e6bc17b86 better description 2020-04-21 00:53:58 +02:00
juanelas b3a90aa6bc more tests. Fixed some bugs. Added github actions 2020-04-21 00:50:53 +02:00
juanelas f4430c5f08 self.crypto 2020-04-08 19:15:19 +02:00
juanelas 5022ebef3e fixed email in package.json. self.crypto 2020-04-08 19:15:03 +02:00
juanelas 827e853c5e 3.0.1 2020-04-08 17:14:47 +02:00
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