Граф коммитов

38 Коммитов

Автор SHA1 Сообщение Дата
DC f4c27c5a28
Update README.md 2018-07-14 19:16:09 -07:00
DC a724748e8d
Update README.md 2018-07-14 19:15:07 -07:00
DC eba6bc9223
Update README.md 2018-07-14 19:13:56 -07:00
DC 60d2f635bc
Merge pull request #7 from nazar-pc/patch-1
Added link to `blake2.wasm` that is WebAssembly implementation
2018-07-14 19:02:23 -07:00
Nazar Mokrynskyi 5ffa103150
Added link to `blake2.wasm` that is WebAssembly implementation 2018-06-13 04:47:01 +03:00
DC 96caec3e42
README: npm instructions 2018-01-15 00:22:59 -05:00
DC 2e7a6bed9b update README, consistent package name 2017-05-10 14:44:18 -07:00
DC 43a0569b09 drop support for node 0.x 2017-05-10 14:38:42 -07:00
DC 72c457956f use Buffer.from, new Buffer() is deprecated 2017-05-10 14:32:28 -07:00
DC 518b468b17 update README 2017-05-10 14:11:52 -07:00
DC 5e44bc5a1a update README, add mascot
@maxogden
2017-05-10 14:10:19 -07:00
DC 3f1e9b9fb7 1.0.1 2017-01-27 19:59:52 -08:00
DC 3afeba5961 update README 2017-01-27 19:58:45 -08:00
DC 19f13d7bb5 travis and npm badges 2017-01-27 19:52:20 -08:00
DC c885e7144f 1.0.0 2017-01-27 19:49:01 -08:00
DC 410c640d0f standard style: camel case 2017-01-27 19:48:48 -08:00
DC a99222087e remove Object.assign, fix #1 2017-01-27 19:40:43 -08:00
DC 65a4702b78 add travis 2017-01-27 19:38:09 -08:00
DC fb5a100e9d Fix test output format, version 0.4.7 2016-01-23 04:44:17 -08:00
DC 6c9ab0927a Improve documentation, version 0.4.6 2016-01-19 03:33:33 -08:00
DC b975e1df1d Supports Buffers and UTF8 strings, version 0.4.5 2016-01-18 02:12:05 -08:00
DC 5c3d24029e Improve README, add another test, version 0.4.4 2016-01-17 12:15:03 -08:00
DC 3cb8385895 Add missing file :o version 0.4.3
Also remove other files, I didn't know `npm publish` ignores git
2016-01-15 14:39:24 -08:00
DC 2c33dfe276 Fix the documentation, version 0.4.2 2016-01-15 14:34:03 -08:00
DC 05f062032a Fix documentation bugs, set version 0.4.1 2016-01-15 13:45:46 -08:00
DC abe1c3894a Version 0.4.0 2016-01-15 13:41:29 -08:00
DC b3e3c7853f BLAKE2s self test and speed test 2016-01-15 13:39:17 -08:00
DC a9546b0536 Added BLAKE2s 2016-01-15 12:39:09 -08:00
DC 4c8dbe492e Inline ROTR
New speed: 15.2 MB / second, ~50% improvement
2016-01-12 01:02:04 -08:00
DC f4ddbb005c Additional optimization
New speed: 10 MB/second, single threaded on an i7-4770HQ CPU @ 2.20GHz
2016-01-11 20:04:32 -08:00
DC bd518ce78c Rewrote with packed Uint32Arrays, much faster
Before: 215 KB/second After: 9.5 MB/second

Single threaded on a i7-4770HQ CPU @ 2.20GHz
2016-01-11 20:04:32 -08:00
DC 46ea51564b Added test vectors, added benchmark
Performance is really sad: about 215 KILOBYTES per second.

An optimized 64-bit asm implementation on a 3.1GHz Sandy Bridge can do 890 MEGABYTES per second.

Reasons:
1. This is Javascript, not asm
2. I haven't done any optimization at all yet
3. We're implementing a 64-bit algorithm with 32-bit ints, since JS cannot represent a uint64
4. We're representing each uint64 as a heap object, specifically a Uint32Array of length 2
2016-01-11 20:04:26 -08:00
DC bb12e69270 CC0 license 2016-01-10 01:14:02 -08:00
DC 504056471c Standardize, use tape for tests 2016-01-10 01:04:01 -08:00
DC f3a4e14325 Added more test vectors 2016-01-10 00:40:30 -08:00
DC 32c95bc124 BLAKE2B works! Only one test vector so far, from the RFC 2016-01-10 00:36:26 -08:00
DC a975d18c5b Added README. BLAKE2B close. No test vectors yet. 2016-01-08 15:36:09 -08:00
DC cb0acc0d65 Blake2B halfway done 2016-01-08 12:10:22 -08:00