Registry / crypto / chainsafe-go-schnorrkel

chainsafe-go-schnorrkel

JSON →
library1.1.0gogounverified

Implements Schnorr signatures on the Ristretto group for Go.

go get github.com/ChainSafe/go-schnorrkel
INSTALL
IMPORT
SIG · CHAINSAFE-GO-SCHNO
C
chainsafe-go-schnorrkel
cryptogov1.1.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.

schnorrkel
github.com/ChainSafe/go-schnorrkel

Generates a keypair, signs a message, and verifies the signature.

package main import ( "fmt" "github.com/ChainSafe/go-schnorrkel" ) func main() { priv, pub, _ := schnorrkel.GenerateKeypair() msg := []byte("hello") sig, _ := schnorrkel.Sign(priv, msg) fmt.Println(schnorrkel.Verify(pub, msg, sig)) // true }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Amazon
1
Resources
chainsafe-go-schnorrkel — go get chainsafe-go-schnorrkel · libregistry