Commit Graph
31 Commits
Author SHA1 Message Date
Travis CI bf3ca98c2b [CI Skip] 0.15.1 2018-02-15 09:38:10 +00:00
Jaco Greeff 6f8c54337b Remove {from,to}Buffer methods (#89)
* Remove all {from,to}Buffer utility methods

* Fix check & test

* Updsate docs

* Bump minor
2018-02-15 10:32:05 +01:00
Travis CI 06eb66f84e [CI Skip] 0.14.11 2018-02-14 08:23:01 +00:00
Travis CI 36827add3c [CI Skip] 0.14.10 2018-02-13 13:35:48 +00:00
Travis CI 05b5d600bf [CI Skip] 0.14.9 2018-02-13 09:20:30 +00:00
Jaco Greeff b0a605d229 Bump 2018-02-12 18:04:34 +01:00
Travis CI 44952cdc34 [CI Skip] 0.14.7 2018-02-12 16:14:57 +00:00
Travis CI a206f5c5bf [CI Skip] 0.14.6 2018-02-12 14:32:29 +00:00
Travis CI b0807ced3d [CI Skip] 0.14.5 2018-02-12 12:55:49 +00:00
Travis CI b9cd837840 [CI Skip] 0.14.4 2018-02-12 11:09:25 +00: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
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
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
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