Ethan Buchman
|
e694c309ba
|
update ed25519 address scheme (#112)
make PubKeyEd25519.Address() returns the first 20 bytes of the hash of the raw 32-byte pubkey, no amino required
|
7 years ago |
Jae Kwon
|
0d4436dea7
|
Use MarshalBinaryBare; Fix encode_test; Bump version
|
7 years ago |
Jae Kwon
|
788cc0a792
|
Use new go-wire; PubKey etc are interfaces; Keybase refactor
|
7 years ago |
Ethan Buchman
|
67a47e6a0b
|
Address is a type alias
|
7 years ago |
Jae Kwon
|
f48baf86fb
|
Add Address type which is HexBytes
|
7 years ago |
Emmanuel Odeke
|
b0cf4b4757
|
PubKeyFromBytes: return zero value PubKey on error
Fixes https://github.com/tendermint/go-crypto/issues/48.
This previously skewed up my fuzzing tests so ensure
that on error we return the zero value PubKey.
|
7 years ago |
Ethan Frey
|
db5cb8d92c
|
Change codegen name holder->wrapper
|
8 years ago |
Ethan Frey
|
ee200d998f
|
Fix unwrap for proper json format
|
8 years ago |
Ethan Frey
|
f16f711992
|
First code from codegen... wrong names
|
8 years ago |
Ethan Frey
|
9016390a6e
|
Moved crypto code to top level again
|
8 years ago |
Ethan Frey
|
17ed6d178d
|
move go-crypto files pre-keys merge
|
8 years ago |
Ethan Buchman
|
8bb25ec5ed
|
update paths
|
8 years ago |
Ethan Frey
|
9e57d521ef
|
Add type assertions for sig/pub/privkey implemenetations
|
8 years ago |
Jae Kwon
|
a3324cc97b
|
Cleanup; Implement .Wrap()
|
8 years ago |
Ethan Frey
|
eb6fcef8d2
|
Better docs and naming thanks to bucky
|
8 years ago |
Ethan Frey
|
5b94758d4c
|
Make PubKey struct compatible with go-wire.JSONBytes/ReadJSON
|
8 years ago |
Ethan Frey
|
66ecd7705f
|
Use new naming scheme PubKey{PubKeyInner}
|
8 years ago |
Ethan Frey
|
750b25c47a
|
Update go-data, test embedding strategies
|
8 years ago |
Ethan Frey
|
49569ac244
|
Wrap constructor to create xxxS structs and avoid recursion
|
8 years ago |
Ethan Buchman
|
3a1313ab7d
|
secp256k1: use compressed pubkey, bitcoin-style address
|
8 years ago |
Ethan Frey
|
0e92dd5bb5
|
One name, type byte per algorithm
|
8 years ago |
Ethan Frey
|
8c9b889ccf
|
Support json encode/decode for nil values in S structs
|
8 years ago |
Ethan Frey
|
b6a2c5949f
|
Add helper methods for nil checks in structs
|
8 years ago |
Ethan Frey
|
1bc1947e3f
|
First tests of go-data encoding
|
8 years ago |
Ethan Frey
|
e6d35ee641
|
Add structs for go-data support
|
8 years ago |
Jae Kwon
|
7e767e9548
|
Secp256k1 pubkeys are 64 bytes. Strip btcec prefix byte
|
9 years ago |
Jae Kwon
|
d57d5ff3c9
|
PrivKey.Equals
|
9 years ago |
Jae Kwon
|
8b34fd2e51
|
Add secp256k1 support
|
9 years ago |
Jae Kwon
|
8152c18c35
|
Revert Address() scheme change
|
9 years ago |
Jae Kwon
|
9a95e7b7a5
|
Added Bytes() and *FromBytes()
|
9 years ago |
Jae Kwon
|
264d2a3eef
|
Add seed-able cryptographic random.
|
9 years ago |
Jae Kwon
|
372191dd5f
|
KeyString() in PubKey; Fix tests
|
9 years ago |
Jae Kwon
|
32b3a27a9a
|
Conform to new go-wire 1.0
|
9 years ago |
Jae Kwon
|
31a456c8d4
|
update package name
|
9 years ago |
Jae Kwon
|
fcdea621bf
|
first commit
|
9 years ago |