botan ~master (2020-08-19T17:56:38Z)
Dub
Repo
PowerMod
botan
math
numbertheory
pow_mod
Modular Exponentiator Proxy
static if
(
BOTAN_HAS_PUBLIC_KEY_CRYPTO
)
class
PowerMod {
alias
UsageHints
=
ushort
;
anonymousenum
NO_HINTS
;
static
size_t
windowBits
(size_t exp_bits, size_t , PowerMod.UsageHints hints);
void
setModulus
(const(BigInt)* n, UsageHints hints);
void
setBase
(const(BigInt)* b);
void
setExponent
(const(BigInt)* e);
BigInt
execute
();
this
(const(BigInt)* n, UsageHints hints);
this
(PowerMod other);
}
Constructors
this
this
(const(BigInt)* n, UsageHints hints)
Undocumented in source.
this
this
(PowerMod other)
Undocumented in source.
Members
Aliases
UsageHints
alias
UsageHints
=
ushort
Undocumented in source.
Enums
NO_HINTS
anonymousenum
NO_HINTS
Undocumented in source.
Functions
execute
BigInt
execute
()
Undocumented in source. Be warned that the author may not have intended to support it.
setBase
void
setBase
(const(BigInt)* b)
Undocumented in source. Be warned that the author may not have intended to support it.
setExponent
void
setExponent
(const(BigInt)* e)
Undocumented in source. Be warned that the author may not have intended to support it.
setModulus
void
setModulus
(const(BigInt)* n, UsageHints hints)
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
windowBits
size_t
windowBits
(size_t exp_bits, size_t , PowerMod.UsageHints hints)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
botan
math
numbertheory
pow_mod
aliases
FixedBasePowerMod
FixedExponentPowerMod
classes
FixedBasePowerModImpl
FixedExponentPowerModImpl
PowerMod
functions
chooseBaseHints
chooseExpHints
interfaces
ModularExponentiator
Modular Exponentiator Proxy