Module traits

Module traits 

Source
Expand description

Traits to define common functionality across BigInt implementations. This is based on MIT/Apache-licensed

Traitsยง

BitManipulation
Allow bit manipulation across BigInts
ConvertFrom
Trait to allow other BigInt conversion (e.g., from u64)
Converter
Convert BigInt to and from various formats
EGCD
Trait for the extended eucledian algorithm
Modulo
Mod operations for BigInt
NumberTests
Numerical tests for a BigInt
Samplable
Sampling trait (e.g., for rejection sampling)
ZeroizeBN
A zeroize trait common to BigInts