Commit Graph

47 Commits

Author SHA1 Message Date
c410fc5e24 Add extra test for encoding with sig,for p2p test fail 2017-04-10 19:51:02 +02:00
aecc32d363 Make dependencies explicit in glide.yaml 2017-04-10 19:51:02 +02:00
9e57d521ef Add type assertions for sig/pub/privkey implemenetations 2017-04-10 19:51:02 +02:00
f17e6bf44c Fix bitcoin addr scheme 2017-04-10 19:51:02 +02:00
926741c0a1 remove coin param 2017-04-10 19:51:02 +02:00
a3324cc97b Cleanup; Implement .Wrap() 2017-04-10 19:51:02 +02:00
eb6fcef8d2 Better docs and naming thanks to bucky 2017-04-10 19:51:01 +02:00
5b94758d4c Make PubKey struct compatible with go-wire.JSONBytes/ReadJSON 2017-04-10 19:51:01 +02:00
66ecd7705f Use new naming scheme PubKey{PubKeyInner} 2017-04-10 19:51:01 +02:00
750b25c47a Update go-data, test embedding strategies 2017-04-10 19:41:30 +02:00
49569ac244 Wrap constructor to create xxxS structs and avoid recursion 2017-04-10 19:41:30 +02:00
e49fdf7be7 Add HD functions 2017-04-08 22:57:59 -07:00
6fddcdf245 hd test: check masters too 2017-03-22 20:13:16 -04:00
c6be97c71c error testing the hd 2017-03-22 16:45:30 -04:00
ce9c57fca8 hd test 2017-03-22 15:59:48 -04:00
3a1313ab7d secp256k1: use compressed pubkey, bitcoin-style address 2017-03-22 01:18:56 -04:00
3f47cfac5f Merge pull request #4 from tendermint/develop
go-data support
2017-03-03 00:17:33 -05:00
562b4cc9ef Merge pull request #3 from tendermint/feature/go-data
Use go-data for nice json un/marshaling
2017-02-23 19:14:53 -05:00
0e92dd5bb5 One name, type byte per algorithm 2017-02-24 00:31:43 +01:00
8c9b889ccf Support json encode/decode for nil values in S structs 2017-02-23 18:11:20 +01:00
b6a2c5949f Add helper methods for nil checks in structs 2017-02-23 15:35:04 +01:00
cbe35e07d1 Add more tests for de/en-coding public and private keys 2017-02-23 14:56:25 +01:00
6c2bf8c24b Clean up test cases -> testify 2017-02-23 13:20:30 +01:00
1bc1947e3f First tests of go-data encoding 2017-02-22 23:43:26 +01:00
e6d35ee641 Add structs for go-data support 2017-02-22 23:15:10 +01:00
4b11d62bdb Add Signature.Equals 2016-07-24 13:35:44 -07:00
41cfb7b677 Remove ReadSignature* methods 2016-04-21 18:05:15 -07:00
7e767e9548 Secp256k1 pubkeys are 64 bytes. Strip btcec prefix byte 2016-04-20 08:46:07 -07:00
c121163635 ReadSignature* 2016-04-19 08:49:41 -07:00
d57d5ff3c9 PrivKey.Equals 2016-04-19 01:26:40 -07:00
8b34fd2e51 Add secp256k1 support 2016-04-19 01:02:31 -07:00
3f0d9b3f29 Signature bytes 2016-03-22 15:21:18 -07:00
eddde7f46a Added customized bcrypt 2016-03-17 20:37:30 -07:00
8152c18c35 Revert Address() scheme change 2016-03-15 15:58:43 -07:00
9a95e7b7a5 Added Bytes() and *FromBytes() 2016-03-15 11:11:54 -07:00
185547efc1 Add ascii armor support 2016-03-13 14:00:27 -07:00
181aa56c87 Added symmetric encrypt/decrypt methods 2016-03-13 12:55:02 -07:00
f59fe0c8e0 s/Seed/MixEntropy/g 2016-03-13 10:14:24 -07:00
264d2a3eef Add seed-able cryptographic random. 2016-03-13 09:40:15 -07:00
76ba23e4c0 Fix bug in GenPrivKeyEd25519FromSecret 2016-02-08 02:18:06 -08:00
62550f474f Merge branch 'master' of https://github.com/tendermint/go-crypto 2016-02-08 00:53:00 -08:00
372191dd5f KeyString() in PubKey; Fix tests 2016-02-08 00:50:52 -08:00
1fb7234ff5 fix test 2016-01-16 13:49:16 -05:00
ea56ed5ea2 Change license to Apache2.0 2015-12-23 14:17:27 -08:00
32b3a27a9a Conform to new go-wire 1.0 2015-11-10 11:53:35 -08:00
31a456c8d4 update package name 2015-10-25 13:45:13 -07:00
fcdea621bf first commit 2015-10-25 13:42:49 -07:00