Commit Graph
3160 Commits
Author SHA1 Message Date
Travis CI 37bea69e58 [CI Skip] 0.18.6 2018-04-17 11:49:28 +00:00
Jaco Greeff 6da140a6d3 Correct u8aConcat with hex inputs (#117)
* Correct u8aConcat with hex inputs

* Add test
2018-04-17 13:45:56 +02:00
Travis CI ecff342416 [CI Skip] 0.18.5 2018-04-17 09:25:34 +00:00
Jaco Greeff 0a7ac8a89b u8a to u8a convenience function (#116)
* Convenience u8aToU8a conversion

* u8aConcat take u8a | hex
2018-04-17 11:20:23 +02:00
Travis CI be5057996c [CI Skip] 0.18.4 2018-04-11 13:27:04 +00:00
Jaco Greeff 6ce0efea3f Use detached sign (no splitting) (#114)
* Use detached sign (no splitting)

* Add pair meta get/set

* Types
2018-04-11 15:22:36 +02:00
Travis CI f9095bc20c [CI Skip] 0.18.3 2018-04-11 08:59:18 +00:00
Jaco Greeff 985ea40b45 Remove unneeded 0 constant (#113) 2018-04-11 10:55:19 +02:00
Travis CI 6c9885858a [CI Skip] 0.18.2 2018-03-21 16:21:39 +00:00
Jaco Greeff 8a6090842e RLP u8a conversion complexity (#112)
* Address u8a conversion complexity

* Split RLP decoder steps

* Cleanup decode value checks

* Encoder lookup table (as per decoder)

* Typings for encoders/decoders values
2018-03-21 17:16:55 +01:00
Travis CI 2f66bf75de [CI Skip] 0.18.1 2018-03-20 14:46:49 +00:00
Jaco Greeff 35d2f69b75 Pkcs8 bytes for pairs (non-encrypted) (#111)
* Upgrade dependencies

* Pkcs8 bytes for pairs (non-encrypted)

* Bump minor

* Pass only secretKey around for encoding

* Cleanup seed interface
2018-03-20 15:42:39 +01:00
Travis CI dbfb7349cb [CI Skip] 0.17.4 2018-03-19 12:22:19 +00:00
Jaco Greeff ac501317af Update @polkadot/api-jsonrpc (dev) (#110)
* Split parameter formatting

* Modularise triehash encodiung further
2018-03-19 13:17:26 +01:00
Travis CI 87db3ea8a3 [CI Skip] 0.17.3 2018-03-19 11:02:01 +00:00
greenkeeper[bot] a542440af7 chore(package): update @polkadot/dev to version 0.17.1 (#109) 2018-03-19 11:58:06 +01:00
Travis CI 1733e1f3dc [CI Skip] 0.17.2 2018-03-13 16:10:18 +00:00
Jaco Greeff 995dfecf61 Initial pair encryption (xsalsa20-poly1305) (#107)
* Allow keypair generation from input string

* Add keyfile encryption/decryption

* Pass secret through n rounds

* Split definition types

* Additional cleanups

* Pass salt as blake2b input

* Move kdf hashing to util-cypto

* Dangling comma

* Pull through secret as string | Uint8Array

* Update documentation
2018-03-13 17:04:44 +01:00
Jaco Greeff 827012783f Avoid u8a -> string conversion costs (#106)
* Avoid u8a -> string conversion for pair keys

* Update hexToBn tests
2018-03-12 15:18:32 +01:00
Travis CI ebdd3cb76f [CI Skip] 0.17.1 2018-03-08 15:24:59 +00:00
Jaco Greeff 2279c9550e Update u8aConcat call signature (#105)
* Change u8aConcat calling format

* Simplify utilkeyring test harness
2018-03-08 16:21:37 +01:00
Travis CI 83aa2784f7 [CI Skip] 0.16.6 2018-03-08 11:51:14 +00:00
Jaco Greeff 4b65a59c2b Fix LE hex conversion for BN (#104) 2018-03-08 12:47:54 +01:00
Travis CI 5af32c3b7e [CI Skip] 0.16.5 2018-02-28 12:20:13 +00:00
Jaco Greeff 3199c79ce5 Allow lazy Logger execution (#103) 2018-02-28 13:17:14 +01:00
Travis CI fddc75d783 [CI Skip] 0.16.4 2018-02-28 08:25:05 +00:00
Jaco Greeff 54fb67c597 Test for valid hex in conversions (#102) 2018-02-28 09:20:44 +01:00
Travis CI d84a4f8be8 [CI Skip] 0.16.3 2018-02-26 15:04:23 +00:00
Jaco Greeff 19b4cc2865 Upgrade @polkadot/dev (#101) 2018-02-26 16:00:16 +01:00
Travis CI 0fbe4d4ac7 [CI Skip] 0.16.2 2018-02-26 14:33:37 +00:00
Jaco Greeff b03f9f735f Properly encode empty trie (#100) 2018-02-26 15:29:38 +01:00
Travis CI 6f94f21b4c [CI Skip] 0.16.1 2018-02-23 10:45:13 +00:00
Jaco Greeff cdc848dce0 Add @polkadot/util-keyring (#99) 2018-02-23 11:41:59 +01:00
Travis CI 3a175a078b [CI Skip] 0.15.10 2018-02-22 11:33:27 +00:00
Jaco Greeff f542d9d2a0 bnToU8a with bitLength on 0 (#98)
* bnToU8a with bitLength on 0

* Extra 0 check
2018-02-22 12:29:28 +01:00
Travis CI 85f40bf9ee [CI Skip] 0.15.9 2018-02-21 12:33:18 +00:00
Jaco Greeff 88a239b532 Align nacl test keys (#97) 2018-02-21 13:29:32 +01:00
Travis CI e383745892 [CI Skip] 0.15.8 2018-02-21 11:47:39 +00:00
Jaco Greeff 15c4733170 Split keypair generation functions (#96) 2018-02-21 12:44:29 +01:00
Travis CI 072a189b33 [CI Skip] 0.15.7 2018-02-21 10:04:19 +00:00
Jaco Greeff be7d5842de Add u8a <-> BN endian (#95) 2018-02-21 10:59:58 +01:00
Travis CI 46df66c5ec [CI Skip] 0.15.6 2018-02-20 16:16:38 +00:00
Jaco Greeff ce36deb6f9 Fix blake2 with proper key & length (#94)
* Fix blake2 with proper key & length

* Fix linting

* Update @polkadot/dev for blakejs typings
2018-02-20 17:13:26 +01:00
Travis CI 07f238eadb [CI Skip] 0.15.5 2018-02-20 13:41:11 +00:00
Jaco Greeff ff5396e2ec Use u8a.toString as u8aToString (#93)
* Use u8a.toString as u8aToString

* Fix lint
2018-02-20 14:37:28 +01:00
Travis CI 31d396d8eb [CI Skip] 0.15.4 2018-02-20 13:04:33 +00:00
Jaco Greeff 532c526bc7 Add basic u8aToString (#92) 2018-02-20 14:01:02 +01:00
Travis CI b52a851fd9 [CI Skip] 0.15.3 2018-02-20 09:04:54 +00:00
Jaco Greeff 480a2f05c4 Fix xxhash outputs as LE (#91) 2018-02-20 10:01:32 +01:00
Travis CI 071cda80ae [CI Skip] 0.15.2 2018-02-16 13:56:53 +00:00