Registry / crypto / agl-ed25519

agl-ed25519

JSON →
library0.0.0-20170116200512-5312a6153412gogounverified

Package ed25519 implements the Ed25519 signature algorithm.

go get github.com/agl/ed25519
INSTALL
IMPORT
SIG · AGL-ED25519
A
agl-ed25519
cryptogov0.0.0-20170116200512-5312a6153412
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.

ed25519
github.com/agl/ed25519

Generate a key pair, sign a message, and verify the signature.

package main import ( "fmt" "github.com/agl/ed25519" ) func main() { pub, priv, _ := ed25519.GenerateKey(nil) msg := []byte("hello") sig := ed25519.Sign(priv, msg) fmt.Println(ed25519.Verify(pub, msg, sig)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20170116200512-5312a6153412latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
41 hits · last 30 days
node
36
Perplexity
1
Resources
agl-ed25519 — go get agl-ed25519 · libregistry