Struct pvss::crypto::Scalar
[−]
[src]
pub struct Scalar { /* fields omitted */ }
Methods
impl Scalar
[src]
fn from_u32(v: u32) -> Scalar
fn generate() -> Scalar
fn multiplicative_identity() -> Scalar
fn hash_points(points: Vec<Point>) -> Scalar
fn pow(&self, pow: u32) -> Scalar
fn inverse(&self) -> Scalar
Trait Implementations
impl Clone for Scalar
[src]
fn clone(&self) -> Scalar
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Add for Scalar
[src]
type Output = Self
The resulting type after applying the +
operator
fn add(self, s: Self) -> Self
The method for the +
operator
impl Sub for Scalar
[src]
type Output = Self
The resulting type after applying the -
operator
fn sub(self, s: Self) -> Self
The method for the -
operator
impl Mul for Scalar
[src]
type Output = Self
The resulting type after applying the *
operator
fn mul(self, s: Self) -> Self
The method for the *
operator