Registry / crypto / decred-dcrd-dcrec-secp256k1-v4

decred-dcrd-dcrec-secp256k1-v4

JSON →
library4.4.1gogounverified

Package secp256k1 implements optimized secp256k1 elliptic curve operations in pure Go.

go get github.com/decred/dcrd/dcrec/secp256k1/v4
INSTALL
IMPORT
SIG · DECRED-DCRD-DCREC-
D
decred-dcrd-dcrec-secp256k1-v4
cryptogov4.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

secp256k1
github.com/decred/dcrd/dcrec/secp256k1/v4

Generate a secp256k1 private key and print the uncompressed public key.

package main import ( "fmt" "github.com/decred/dcrd/dcrec/secp256k1/v4" ) func main() { privKey, _ := secp256k1.GeneratePrivateKey() pubKey := privKey.PubKey() fmt.Printf("Public key: %x\n", pubKey.SerializeUncompressed()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.4.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
decred-dcrd-dcrec-secp256k1-v4 — go get decred-dcrd-dcrec-secp256k1-v4 · libregistry