Registry / crypto / ipsn-go-secp256k1

ipsn-go-secp256k1

JSON →
library0.0.0-20180726113642-9d62b9f0bc52gogounverified

Package secp256k1 wraps the bitcoin secp256k1 C library for elliptic curve operations.

go get github.com/ipsn/go-secp256k1
INSTALL
IMPORT
SIG · IPSN-GO-SECP256K1
I
ipsn-go-secp256k1
cryptogov0.0.0-20180726113642-9d62b9f0bc52
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/ipsn/go-secp256k1

Generate a secp256k1 key pair

package main import ( "fmt" "github.com/ipsn/go-secp256k1" ) func main() { priv, _ := secp256k1.GeneratePrivateKey() pub := priv.PubKey() fmt.Println(pub) }
Debug
Known issues
gotchaRequires CGO and the bitcoin secp256k1 C library to be installed
fix
Install libsecp256k1-dev or use a pure Go alternative like btcd/btcec
affects: all
Upgrade
Version history
0.0.0-20180726113642-9d62b9f0bc52latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ipsn-go-secp256k1 — go get ipsn-go-secp256k1 · libregistry