Module int

Source
Expand description

Integers as a group.

  • Associative operation: Integer wrapping addition, $(a + b) \mod 2^N$.
  • Identity element: 0.
  • Inverse element: -x.

§Security

Such a group whose cardinality is not a prime number cannot provide the attribute that: if a and b are individually indistinguishable with random elements, a * b (integer multiplication) is still that. If you need this attribute (e.g., for some verification), use crate::group::int_prime instead.

Structs§

U8Group
See self.
U16Group
See self.
U32Group
See self.
U64Group
See self.
U128Group
See self.