k256

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