Type Alias p521::FieldBytes

source ·
pub type FieldBytes = FieldBytes<NistP521>;
Expand description

NIST P-521 field element serialized as bytes.

Byte array containing a serialized field element value (base field or scalar).

Aliased Type§

struct FieldBytes { /* private fields */ }

Trait Implementations§

source§

impl From<&Scalar> for FieldBytes

Available on crate feature arithmetic only.
source§

fn from(scalar: &Scalar) -> Self

Converts to this type from the input type.
source§

impl From<Scalar> for FieldBytes

Available on crate feature arithmetic only.
source§

fn from(scalar: Scalar) -> Self

Converts to this type from the input type.