Type Alias 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).

Aliased Type§

struct FieldBytes { /* private fields */ }

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.