k256

Type Alias U256

Source
pub type U256 = Uint<crypto_bigint::::uint::U256::{constant#0}>;
Expand description

256-bit unsigned big integer.

Aliased Type§

struct U256 { /* private fields */ }

Trait Implementations§

Source§

impl FieldBytesEncoding<Secp256k1> for U256

Source§

fn decode_field_bytes(field_bytes: &FieldBytes) -> Self

Decode unsigned integer from serialized field element. Read more
Source§

fn encode_field_bytes(&self) -> FieldBytes

Encode unsigned integer into serialized field element. Read more
Source§

impl From<&Scalar> for U256

Source§

fn from(scalar: &Scalar) -> Self

Converts to this type from the input type.
Source§

impl From<Scalar> for U256

Source§

fn from(scalar: Scalar) -> Self

Converts to this type from the input type.