mirror of
https://github.com/FlipsideCrypto/dcrd.git
synced 2026-02-06 10:56:47 +00:00
dcrec: fix examples links.
This commit is contained in:
parent
93dc592615
commit
b8dff59d4c
@ -25,19 +25,19 @@ $ go get -u github.com/decred/dcrd/dcrec
|
||||
|
||||
## Examples
|
||||
|
||||
* [Sign Message](https://godoc.org/github.com/decred/dcrd/dcrec#example-package--SignMessage)
|
||||
* [Sign Message](https://godoc.org/github.com/decred/dcrd/dcrec/secp256k1#example-package--SignMessage)
|
||||
Demonstrates signing a message with a secp256k1 private key that is first
|
||||
parsed form raw bytes and serializing the generated signature.
|
||||
|
||||
* [Verify Signature](https://godoc.org/github.com/decred/dcrd/dcrec#example-package--VerifySignature)
|
||||
* [Verify Signature](https://godoc.org/github.com/decred/dcrd/dcrec/secp256k1#example-package--VerifySignature)
|
||||
Demonstrates verifying a secp256k1 signature against a public key that is
|
||||
first parsed from raw bytes. The signature is also parsed from raw bytes.
|
||||
|
||||
* [Encryption](https://godoc.org/github.com/decred/dcrd/dcrec#example-package--EncryptMessage)
|
||||
* [Encryption](https://godoc.org/github.com/decred/dcrd/dcrec/secp256k1#example-package--EncryptMessage)
|
||||
Demonstrates encrypting a message for a public key that is first parsed from
|
||||
raw bytes, then decrypting it using the corresponding private key.
|
||||
|
||||
* [Decryption](https://godoc.org/github.com/decred/dcrdy/dcrec#example-package--DecryptMessage)
|
||||
* [Decryption](https://godoc.org/github.com/decred/dcrd/dcrec/secp256k1#example-package--DecryptMessage)
|
||||
Demonstrates decrypting a message using a private key that is first parsed
|
||||
from raw bytes.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user