Registry / crypto / ed25519-zebra

ed25519-zebra

JSON →
library4.2.0rscratesunverified

Zcash-flavored Ed25519 signature implementation for use in Zebra, with batch verification.

crypto
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.

use ed25519_zebra::VerificationKey;

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

use ed25519_zebra::{SigningKey, VerificationKey}; fn main() { let sk = SigningKey::new(rand::thread_rng()); let vk = VerificationKey::from(&sk); let msg = b"hello"; let sig = sk.sign(msg); assert!(vk.verify(&sig, msg).is_ok()); }
Debug
Known footguns
gotchaUses a Zcash-specific variant of Ed25519; not compatible with standard Ed25519 implementations.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
mj12bot
1
Resources