Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
def
gcd(a, b):
45
if
a == 0:
46
return
b
47
return
gcd(b%a, a)
48
49
50
class
HillCipher:
Callers
1
checkDeterminant
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected