MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / gcd

Function gcd

ciphers/hill_cipher.py:44–47  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

42
43
44def gcd(a, b):
45 if a == 0:
46 return b
47 return gcd(b%a, a)
48
49
50class HillCipher:

Callers 1

checkDeterminantMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected