Registry / crypto / sp-crypto-ec-utils

sp-crypto-ec-utils

JSON →
library0.20.0rscratesunverified

Host functions for common Arkworks elliptic curve operations used in Substrate-based chains.

# Cargo.toml [dependencies] sp-crypto-ec-utils = "0.20.0"
INSTALL
IMPORT
SIG · SP-CRYPTO-EC-UTILS
S
sp-crypto-ec-utils
cryptorustv0.20.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.

Bls12_381
use sp_crypto_ec_utils::bls12_381::Bls12_381;

Initialize a BLS12-381 elliptic curve.

use sp_crypto_ec_utils::bls12_381::Bls12_381; fn main() { let curve = Bls12_381::new(); println!("BLS12-381 curve initialized"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.20.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Resources
sp-crypto-ec-utils — cargo add sp-crypto-ec-utils · libregistry