Type Definition k256::FieldBytes

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

secp256k1 (K-256) field element serialized as bytes.

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

Trait Implementations§

source§

impl From<&Scalar> for FieldBytes

source§

fn from(scalar: &Scalar) -> Self

Converts to this type from the input type.
source§

impl From<Scalar> for FieldBytes

source§

fn from(scalar: Scalar) -> Self

Converts to this type from the input type.