Commit Graph
386 Commits
Author SHA1 Message Date
Jaco Greeff 6b3be0bc30 Introduce @polkadot/util-triehash (#75)
* Expand util-crypto test coverage

* Add @polkadot/util-triehash

* Update link to util-triehash
2018-02-07 13:41:45 +01:00
Travis CI 0e6254dde1 [CI Skip] 0.13.9 2018-02-07 10:24:58 +00:00
Jaco Greeff feef48b44c Uint8Array outputs from crypto (#74)
* Uint8Array outputs from crypto

* Small typos

* Update documentation
2018-02-07 11:22:17 +01:00
Travis CI ee50cfab1e [CI Skip] 0.13.8 2018-02-02 12:32:18 +00:00
Jaco Greeff 8488254a0c Add u8aToHex (#73)
* Add u8aToHex

* Update doc

* Cleanup allocation

* Fix typo
2018-02-02 13:28:52 +01:00
Travis CI aab2a6543c [CI Skip] 0.13.7 2018-02-02 12:05:35 +00:00
Jaco Greeff a5518ce830 Align NaCl functions with Rust tests (#72)
* Align nacl functions with Rust tests

* Match tests from Rust
2018-02-02 13:02:55 +01:00
Travis CI eb4b4c74bb [CI Skip] 0.13.6 2018-01-31 13:54:42 +00:00
Jaco Greeff 3720ebc920 Add ed25519 keypair, sign & verify (#71) 2018-01-31 14:50:20 +01:00
Travis CI 061e3991a2 [CI Skip] 0.13.5 2018-01-30 13:16:21 +00:00
Jaco Greeff 9893256642 Buffer conversion for xxhash (#70)
* Buffer conversion

* Fix flow
2018-01-30 14:12:44 +01:00
Travis CI 6f5610439e [CI Skip] 0.13.4 2018-01-30 11:39:23 +00:00
Jaco Greeff 19e365e2c8 Hex <-> Uint8Array utils (#69) 2018-01-30 12:36:01 +01:00
Travis CI 1ce557fa4a [CI Skip] 0.13.3 2018-01-30 10:58:02 +00:00
Jaco Greeff 523dc1c48d Update hashing functions to ref (#68)
* Package upgrades

* Use h64 by default

* Remove AsNumber distinction

* xxhash32/64 & blake2b/2s

* Add xxhashAsHex{128,256}

* Add blake2AsHex{128,256,512}

* Update documentation

* Update docs
2018-01-30 11:55:32 +01:00
Travis CI 725a4571ed [CI Skip] 0.13.2 2018-01-29 09:22:58 +00:00
Jaco Greeff 8fbfe612f9 Use deasync loopWhile (#67) 2018-01-29 10:18:04 +01:00
Travis CI 0fc00ed6f9 [CI Skip] 0.13.1 2018-01-25 13:17:46 +00:00
Jaco Greeff b5c5734c7c Add Blake2s & XXHash utility functions (#66)
* Initial split of util & util-crypto

* Add initial XXHash version

* Blake2s wit tests & documentation

* Add sha512 (from NaCl)

* Add randomBytes (from NaCl)

* Flow fixes

* Update documentation

* Update latest @polkadot/dev
2018-01-25 14:13:43 +01:00
Travis CI ade4c828af [CI Skip] 0.12.3 2018-01-15 20:58:18 +00:00
Jaco Greeff 0742557d19 Fix flow check (#63)
* Display available files

* Expand check tests

* yarn <script> -> yarn run <script>

* Revert run

* Remove definitions

* Test

* testing.js (root)

* Remove --verbose

* Remove all config

* Re-add build

* Only add flow-typed

* Adjust paths

* Revert debugging
2018-01-15 21:53:25 +01:00
Travis CI b80dfba1f4 [CI Skip] 0.12.2 2018-01-15 20:52:04 +00:00
Jaco Greeff ef776c294e Expand license header (#64) 2018-01-15 21:46:35 +01:00
Travis CI 21927d5306 [CI Skip] 0.12.1 2018-01-11 16:51:23 +00:00
Jaco Greeff f20035fe97 Move util function from @polkadot/client (#62) 2018-01-11 17:48:38 +01:00
Travis CI 561992bbda [CI Skip] 0.11.4 2018-01-09 19:14:59 +00:00
Jaco Greeff 6afdf49e6c Disable check around protected split (#61) 2018-01-09 20:12:39 +01:00
Travis CI 841d9a84e7 [CI Skip] 0.11.3 2018-01-09 18:53:40 +00:00
Jaco Greeff feedcf62e8 Expand logger for debug (#60) 2018-01-09 19:51:24 +01:00
Travis CI d1c414c1e0 [CI Skip] 0.11.2 2018-01-08 08:48:36 +00:00
Jaco Greeff e33019a16f Update promisify types (#58) 2018-01-08 09:42:40 +01:00
Jaco Greeff 6e68784481 2018 (#57) 2018-01-04 08:48:28 +01:00
Travis CI 2148416b42 [CI Skip] 0.11.1 2017-12-30 16:46:06 +00:00
Jaco Greeff fe53d2ab2d Prefer static to runtime types (#56) 2017-12-30 17:43:51 +01:00
Travis CI 446b2f143d [CI Skip] 0.10.1 2017-12-17 19:18:10 +00:00
Jaco Greeff e77d536edd Add isBoolean (#53) 2017-12-17 20:16:15 +01:00
Travis CI 9b4070401a [CI Skip] 0.9.3 2017-12-16 10:47:15 +00:00
Jaco Greeff 4a035aa77f Update badges (#52) 2017-12-16 11:44:34 +01:00
Travis CI 6aa32488d2 [CI Skip] 0.9.2 2017-12-15 20:01:31 +00:00
Jaco Greeff 366965371f Don't pad fixLength by default (#51)
* Don't pad fixLength by default

* Update docs
2017-12-15 20:59:27 +01:00
Travis CI 25be6e55df [CI Skip] 0.9.1 2017-12-14 19:16:16 +00:00
Jaco Greeff 56aff80e52 Expand promisify (with this), add stringShorten (#50) 2017-12-14 20:14:17 +01:00
Travis CI 5c332097c7 [CI Skip] 0.8.3 2017-12-14 08:48:56 +00:00
Jaco Greeff dbf189960f Update logger type definition (#49) 2017-12-14 09:45:43 +01:00
Travis CI cb592ccbb8 [CI Skip] 0.8.2 2017-12-14 08:32:07 +00:00
Jaco Greeff 9fd345993e Logger param type update (#48) 2017-12-14 09:29:42 +01:00
Travis CI dda1586e60 [CI Skip] 0.8.1 2017-12-12 19:19:59 +00:00
Jaco Greeff c612440bcd Add promisify (#47) 2017-12-12 20:17:45 +01:00
Travis CI b659622384 [CI Skip] 0.7.1 2017-12-11 19:40:48 +00:00
Jaco Greeff 77fccc3760 arrayFilter, isIp, isObject & isHex (optional bitLength) (#46) 2017-12-11 20:37:50 +01:00