Module subspace_core_primitives::crypto::kzg
source · Expand description
Tools for KZG commitment scheme
Structs§
- Commitment to polynomial
- Wrapper data structure for working with KZG commitment scheme
- Commitment to polynomial
- Witness for polynomial evaluation
Constants§
- Embedded KZG settings as bytes, too big for
no_std
in most cases Generated using following command (using current Ethereum KZG Summoning Ceremony): - Number of G1 powers stored in
EMBEDDED_KZG_SETTINGS_BYTES
- Number of G2 powers stored in
EMBEDDED_KZG_SETTINGS_BYTES
Functions§
- Function turns bytes into
FsKZGSettings
, it is up to the user to ensure that bytes make sense, otherwise result can be very wrong (but will not panic). - Embedded KZG settings