Registry / crypto / oasisprotocol-ed25519

oasisprotocol-ed25519

JSON →
library0.0.0-20210505154701-76d8c688d86egogounverified

Package ed25519 implements the Ed25519 signature algorithm, compatible with RFC 8032.

go get github.com/oasisprotocol/ed25519
INSTALL
IMPORT
SIG · OASISPROTOCOL-ED25
O
oasisprotocol-ed25519
cryptogov0.0.0-20210505154701-76d8c688d86e
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/oasisprotocol/ed25519

Generates an Ed25519 key pair, signs a message, and verifies the signature.

package main import ( "fmt" "github.com/oasisprotocol/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-20210505154701-76d8c688d86elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Resources
oasisprotocol-ed25519 — go get oasisprotocol-ed25519 · libregistry