Branch: refs/heads/master
Home: https://github.com/conformal/btcec
Commit: ac7a367950089af978a398f57010315ff355097e
https://github.com/conformal/btcec/commit/ac7a367950089af978a398f57010315ff355097e
Author: Geert-Johan Riemer <[email protected]>
Date: 2014-05-20 (Tue, 20 May 2014)
Changed paths:
M privkey.go
M pubkey.go
Log Message:
-----------
Add type PrivateKey, (*PrivateKey).Sign() and (*PublicKey).Verify().
Commit: af82a73fe4a2439dda93ee584286ad434b91099d
https://github.com/conformal/btcec/commit/af82a73fe4a2439dda93ee584286ad434b91099d
Author: Geert-Johan Riemer <[email protected]>
Date: 2014-05-20 (Tue, 20 May 2014)
Changed paths:
M pubkey_test.go
M test_coverage.txt
Log Message:
-----------
Add tests for sign and verify.
Commit: 77c02f36ee4249a53664f63d22f32311bb7fb9d2
https://github.com/conformal/btcec/commit/77c02f36ee4249a53664f63d22f32311bb7fb9d2
Author: Dave Collins <[email protected]>
Date: 2014-05-20 (Tue, 20 May 2014)
Changed paths:
M doc.go
M privkey.go
M pubkey.go
M pubkey_test.go
M signature.go
M test_coverage.txt
Log Message:
-----------
Cleanup new code introduced by Pull Request #4.
- Keep comments to 80 cols for consistency with the rest of the code base
- Made verify a method off of Signature instead of PublicKey since one
verifies a signature with a public key as opposed to the other way
around
- Return new signature from Sign function directly rather than creating a
local temporary variable
- Modify a couple of comments as recommended by @owainga
- Update sample usage in doc.go for both signing messages and verifying
signatures
ok @owainga
Compare: https://github.com/conformal/btcec/compare/1dbf389ceb35...77c02f36ee42