Function lbcrypto::GetTotient
Defined in File nbtheory2.cpp
Function Documentation
-
uint64_t lbcrypto::GetTotient(const uint64_t n)
Returns the totient value phi of a number n.
- Parameters
&n – the input number.
- Returns
phi of n which is the number of integers m coprime to n such that 1 <= m <= n.