Expand description
Contains various algorithms for computing discrete logarithms over generic monoids.
Structs§
- Subgroup
Base unstable-enable
- Represents a subgroup of an
AbelianGroupBase
by a set of generators. Supports computing discrete logarithms, i.e. representing a given element as a combination of the generators.
Functions§
- baby_
giant_ step unstable-enable
- Computes the a vector
k
with entries1 <= k[i] <= dlog_bounds[i]
such thatgenerators^k = value
(generators
is a list of elements of an abelian group). - finite_
field_ discrete_ log - Computes the discrete log in the group
(Z/nZ)*
. - multiplicative_
order - Computes the multiplicative order in the group
(Z/nZ)*
.
Type Aliases§
- Subgroup
unstable-enable
- [
GroupStore
] ofSubgroupBase