Type Alias k256::U256

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

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 U256

Available on crate feature arithmetic only.
source§

fn from(scalar: Scalar) -> Self

Converts to this type from the input type.