botan v1.12.8 (2016-11-14T10:06:52Z)
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
(BigInt n, UsageHints hints);
void
setBase
(BigInt b);
void
setExponent
(BigInt e);
BigInt
execute
();
this
(BigInt n, UsageHints hints);
this
(PowerMod other);
}
Constructors
this
this
(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
(BigInt b)
Undocumented in source. Be warned that the author may not have intended to support it.
setExponent
void
setExponent
(BigInt e)
Undocumented in source. Be warned that the author may not have intended to support it.
setModulus
void
setModulus
(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