Commit Graph
28 Commits
Author SHA1 Message Date
Travis CI b0807ced3d [CI Skip] 0.14.5 2018-02-12 12:55:49 +00:00
Jaco Greeff dc0f612081 Add u8aBn (#82) 2018-02-12 13:52:40 +01:00
Travis CI b9cd837840 [CI Skip] 0.14.4 2018-02-12 11:09:25 +00:00
Jaco Greeff b9f83dd422 Ad bitLength to number & BN conversions (#81)
* Typo in docs

* Add bitLength to number & WS conversions

* Update docs
2018-02-12 12:05:36 +01:00
Travis CI cc8eece9fe [CI Skip] 0.14.3 2018-02-08 15:15:27 +00:00
Jaco Greeff 03dc89c2b6 Remove exposed Buffer in crypto (#80)
* Use js-sha3 instead of keccak

* Remove exposed toBuffer from util-crypto

* Add definiton for js-sha3

* Remove Buffer from docs

* Cleanup crypto hashing

* Cleanup interface
2018-02-08 16:12:00 +01:00
Travis CI 576599b6ed [CI Skip] 0.14.2 2018-02-08 13:53:50 +00:00
Jaco Greeff e832aebb07 Introduce @polkadot/util-rlp (#76)
* Add toU8a conversions

* Add u8a utilities

* @polkadot/rlp with encoding

* Decoding test runthrough

* Update util locations

* Convert util-triehash to use util-rlp

* Allow keccak from Uint8Array

* Pass Uint8Array to keccak input

* Update documentation

* Skip some doc generation

* Update @polkadot/dev

* Update doc typo

* Update allocations

* Retrieve tests from ethereumjs-testing

* Simplify test retrieval

* Exclude etereumjs-testing from flow
2018-02-08 14:50:54 +01:00
Travis CI a18e7f8474 [CI Skip] 0.14.1 2018-02-07 12:45:05 +00:00
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