We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Calculates Euler's totient, or phi(n), using BigInt arbitrary-length integers. Adapted from Alexei Kourbatov's JavaScript implementation (http://www.javascripter.net/math/calculators/eulertotientfunction.htm).
Source code and inline documentation: https://github.com/monicanagent/cypherpoker/blob/master/Libraries/P2P3/CryptoWorker/src/crypto/math/EulerTotient.as