modular arithmetic course - challenge 2 - extended euclidean algorithm
This commit is contained in:
parent
716ccc14b3
commit
4b5f6c47ff
2 changed files with 23 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ from intro import (
|
|||
)
|
||||
from modular_arithmetic import (
|
||||
gcd,
|
||||
extended_gcd,
|
||||
)
|
||||
from public_key_cryptography import (
|
||||
modular_exponentiation,
|
||||
|
|
@ -55,4 +56,5 @@ if __name__ == "__main__":
|
|||
|
||||
# Modular arithmetic course challenge
|
||||
print(gcd(66528, 52920))
|
||||
print(extended_gcd(26513, 32321))
|
||||
# fmt: on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue