Docs.rs
soroban-sdk-22.0.6
soroban-sdk 22.0.6
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
graydon
leighmcculloch
stellar-crates
Dependencies
bytes-lit ^0.0.5
normal
soroban-sdk-macros ^22.0.6
normal
arbitrary ~1.3.0
dev
ctor ^0.2.9
dev
derive_arbitrary ~1.3.0
dev
ed25519-dalek ^2.0.0
dev
expect-test ^1.4.1
dev
hex ^0.4.3
dev
libfuzzer-sys ^0.4.7
dev
proptest ^1.2.0
dev
proptest-arbitrary-interop ^0.1.0
dev
rand ^0.8.5
dev
soroban-env-host =22.1.3
dev
soroban-sdk-macros ^22.0.6
dev
soroban-spec ^22.0.6
dev
stellar-xdr =22.1.0
dev
rustc_version ^0.4.1
build
arbitrary ~1.3.0
normal
optional
ctor ^0.2.9
normal
optional
curve25519-dalek ^4.1.3
normal
optional
derive_arbitrary ~1.3.0
normal
optional
ed25519-dalek ^2.1.1
normal
optional
rand ^0.8.5
normal
serde ^1.0.0
normal
serde_json ^1.0.0
normal
soroban-env-host =22.1.3
normal
soroban-ledger-snapshot ^22.0.6
normal
stellar-strkey =0.0.9
normal
soroban-env-guest =22.1.3
normal
Versions
59.96%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
soroban_
sdk
22.0.6
Module bls12_
381
Module Items
Structs
In soroban_
sdk::
crypto
soroban_sdk
::
crypto
Module
bls12_381
Copy item path
Source
Structs
ยง
Bls12_
381
Bls12_381 provides access to curve and field arithmetics on the BLS12-381 curve.
Fp
Fp
represents an element of the base field
Fq
of the BLS12-381 elliptic curve
Fp2
Fp2
represents an element of the quadratic extension field
Fq2
of the BLS12-381 elliptic curve
Fr
Fr
represents an element in the BLS12-381 scalar field, which is a prime field of order
r
(the order of the G1 and G2 groups). The struct is internally represented with an
U256
, all arithmetic operations follow modulo
r
.
G1Affine
G1Affine
is a point in the G1 group (subgroup defined over the base field
Fq
) of the BLS12-381 elliptic curve
G2Affine
G2Affine
is a point in the G2 group (subgroup defined over the quadratic extension field
Fq2
) of the BLS12-381 elliptic curve