Registry / crypto / ledgerwatch-secp256k1

ledgerwatch-secp256k1

JSON →
library1.2.0gogounverified

Wraps the bitcoin secp256k1 C library for elliptic curve operations.

go get github.com/ledgerwatch/secp256k1
INSTALL
IMPORT
SIG · LEDGERWATCH-SECP25
L
ledgerwatch-secp256k1
cryptogov1.2.0
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/ledgerwatch/secp256k1

Generates a secp256k1 key pair.

package main import ( "fmt" "github.com/ledgerwatch/secp256k1" ) func main() { privKey, _ := secp256k1.GeneratePrivateKey() pubKey := privKey.PublicKey() fmt.Println(pubKey) }
Debug
Known issues
gotchaRequires CGo and the secp256k1 C library to be installed.
fix
Install libsecp256k1-dev or use a pure Go alternative.
affects: *
Upgrade
Version history
1.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
ledgerwatch-secp256k1 — go get ledgerwatch-secp256k1 · libregistry