referrerpolicy=no-referrer-when-downgrade

Crate sp_crypto_ec_utils

Crate sp_crypto_ec_utils 

Source
Expand description

This crate offers elliptic curves types which are compatible with the Arkworks library functionalities.

The implementation has been primarily designed to be used in slow hosted targets (e.g. wasm32) and offloads the most computationally expensive operations to the host by leveraging the arkworks-extensions library and Substrate’s host functions.

The exported types are organized and named in a way that mirrors the structure of the types in the original Arkworks library. This design choice aims to make it easier for users already familiar with the library to understand and utilize the exported types effectively.

Modules§

bls12_377
BLS12-377 types and host functions.
bls12_381
BLS12-381 types and host functions.
bw6_761
BW6-761 types and host functions.
ed_on_bls12_377
Ed-on-BLS12-377 types and host functions.
ed_on_bls12_381_bandersnatch
Ed-on-BLS12-381-Bandersnatch types and host functions.
pallas
Pallas types and host functions.
vesta
Vesta types and host functions.

Type Aliases§

HostFunctionsRfc163
Host functions to speed up Elliptic Curve math.