Registry / crypto / substrate-bn

substrate-bn

JSON →
library0.6.0rscratesunverified

Pairing cryptography with the Barreto-Naehrig curve for use in blockchain and zero-knowledge proof systems.

# Cargo.toml [dependencies] substrate-bn = "0.6.0"
INSTALL
IMPORT
SIG · SUBSTRATE-BN
S
substrate-bn
cryptorustv0.6.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.

G1
✓ use substrate_bn::G1;

Creates the G1 group generator point on the BN curve.

use substrate_bn::G1; fn main() { let g1 = G1::one(); println!("G1 generator: {:?}", g1); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
30
Resources
substrate-bn — cargo add substrate-bn · libregistry