Registry / crypto / bls12-381-plus

bls12-381-plus

JSON →
library0.8.18rscratesunverified

Implementation of the BLS12-381 pairing-friendly elliptic curve construction with hash to curve and multiexponentiation.

# Cargo.toml [dependencies] bls12_381_plus = "0.8.18"
INSTALL
IMPORT
SIG · BLS12-381-PLUS
B
bls12-381-plus
cryptorustv0.8.18
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.

G1Projective
use bls12_381_plus::G1Projective;

Gets the generator of the G1 group.

use bls12_381_plus::G1Projective; let g = G1Projective::generator(); println!("Generator: {:?}", g);
Debug
Known issues
gotchaFork of zkcrypto/bls12_381; may have different API.
fix
Check documentation for differences from the original.
affects: >=0.8.0
Upgrade
Version history
0.8.18latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Amazon
1
Resources
bls12-381-plus — cargo add bls12-381-plus · libregistry