Module crypto_bigint::prelude [−][src]
Expand description
Import prelude for this crate: includes important traits.
Traits
Compute self + rhs mod p
.
ArrayDecoding
generic-array
Support for decoding a GenericArray
as a big integer.
ArrayEncoding
generic-array
Support for encoding a big integer as a GenericArray
.
Checked addition.
Checked multiplication.
Checked substraction.
Concatenate two numbers into a “wide” twice-width value, using the rhs
value as the least significant value.
Encoding support.
Integer type.
Compute self * rhs mod p
.
Compute -self mod p
.
Random
rand_core
Random number generation support.
RandomMod
rand_core
Modular random number generation support.
Split a number in half, returning the most significant half followed by the least significant.
Compute self - rhs mod p
.
Zero values.