MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / gcd

Function gcd

src/ciphers/affine_cipher.rs:42–49  ·  view source on GitHub ↗

Calculates the greatest common divisor using the iterative Euclidean algorithm. # Arguments `a` - First number `b` - Second number # Returns The GCD of a and b

(mut a: usize, mut b: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

find_mod_inverseFunction · 0.70
check_keysFunction · 0.70
affine_generate_keyFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected