MCPcopy Create free account
hub / github.com/TheAlgorithms/C / modular_multiplicative_inverse

Function modular_multiplicative_inverse

cipher/affine.c:47–77  ·  view source on GitHub ↗

* @brief finds the value x such that (a * x) % m = 1 * * @param a number we are finding the inverse for * @param m the modulus the inversion is based on * * @returns the modular multiplicative inverse of `a` mod `m` */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

inverse_keyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected