Registry / crypto / ark-ed-on-bls12-381

ark-ed-on-bls12-381

JSON →
library0.5.0rscratesunverified

A Twisted Edwards curve defined over the scalar field of the BLS12-381 curve

# Cargo.toml [dependencies] ark-ed-on-bls12-381 = "0.5.0"
INSTALL
IMPORT
SIG · ARK-ED-ON-BLS12-38
A
ark-ed-on-bls12-381
cryptorustv0.5.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.

EdwardsProjective
use ark_ed_on_bls12_381::EdwardsProjective;

Instantiate the Edwards curve generator

use ark_ed_on_bls12_381::EdwardsProjective; use ark_ff::PrimeField; fn main() { let g = EdwardsProjective::generator(); println!("Generator: {:?}", g); }
Debug
Known issues
gotchaRequires ark-std and ark-serialize features for full functionality
fix
Add `features = ["std", "serde"]` to Cargo.toml dependency
affects: >=0.5.0
Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
Resources
ark-ed-on-bls12-381 — cargo add ark-ed-on-bls12-381 · libregistry