pub struct StarknetPedersenParams;Expand description
Pedersen Hash parameters for Starknet.
Trait Implementations§
Source§impl Clone for StarknetPedersenParams
impl Clone for StarknetPedersenParams
Source§fn clone(&self) -> StarknetPedersenParams
fn clone(&self) -> StarknetPedersenParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for StarknetPedersenParams
impl Default for StarknetPedersenParams
Source§fn default() -> StarknetPedersenParams
fn default() -> StarknetPedersenParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for StarknetPedersenParams
impl PartialEq for StarknetPedersenParams
Source§impl PedersenParams<StarknetCurveConfig> for StarknetPedersenParams
impl PedersenParams<StarknetCurveConfig> for StarknetPedersenParams
Source§const LOW_PART_BITS: u32 = 248u32
const LOW_PART_BITS: u32 = 248u32
Low part bits.
Source§const LOW_PART_MASK: U256
const LOW_PART_MASK: U256
Low part mask. (2**248 - 1)
Source§const N_ELEMENT_BITS_HASH: usize = 252usize
const N_ELEMENT_BITS_HASH: usize = 252usize
Number of elements in the hash.
Source§const P_0: Affine<StarknetCurveConfig>
const P_0: Affine<StarknetCurveConfig>
Shift point.
Source§const P_1: Affine<StarknetCurveConfig>
const P_1: Affine<StarknetCurveConfig>
Constant point –
P_1.Source§const P_2: Affine<StarknetCurveConfig>
const P_2: Affine<StarknetCurveConfig>
Constant point –
P_2.Source§const P_3: Affine<StarknetCurveConfig>
const P_3: Affine<StarknetCurveConfig>
Constant point –
P_3.Source§const P_4: Affine<StarknetCurveConfig>
const P_4: Affine<StarknetCurveConfig>
Constant point –
P_4.Source§type AffineRepr = Affine<StarknetCurveConfig>
type AffineRepr = Affine<StarknetCurveConfig>
The affine representation type for this Elliptic Curve.
impl Eq for StarknetPedersenParams
impl StructuralPartialEq for StarknetPedersenParams
Auto Trait Implementations§
impl Freeze for StarknetPedersenParams
impl RefUnwindSafe for StarknetPedersenParams
impl Send for StarknetPedersenParams
impl Sync for StarknetPedersenParams
impl Unpin for StarknetPedersenParams
impl UnwindSafe for StarknetPedersenParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more