Ethan Buchman
d55243f0e6
fix import paths
7 years ago
Dev Ojha
41733b46b9
crypto: Abstract pubkey / signature size when known to constants ( #1808 )
* crypto: Abstract pubkey / signature size when known to constants
* Created PubKeyEd25519Size as 32
* Created PubkeySecp256k1Size as 33
* Created SignatureEd25519Size as 64
* Remove extraneous message from changelog
7 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 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
4b11d62bdb
Add Signature.Equals
9 years ago
Jae Kwon
41cfb7b677
Remove ReadSignature* methods
9 years ago
Jae Kwon
c121163635
ReadSignature*
9 years ago
Jae Kwon
8b34fd2e51
Add secp256k1 support
9 years ago
Jae Kwon
3f0d9b3f29
Signature bytes
9 years ago
Jae Kwon
31a456c8d4
update package name
9 years ago
Jae Kwon
fcdea621bf
first commit
9 years ago