public_key_cryptography course - challenges 3 - Euler's totent.

This commit is contained in:
boyreau 2026-11-05 12:09:50 +01:00
commit c72e3335ea
2 changed files with 9 additions and 2 deletions

View file

@ -11,6 +11,7 @@ from intro import (
from public_key_cryptography import (
modular_exponentiation,
basic_encryption,
Euler_totient,
)
if __name__ == "__main__":
@ -33,4 +34,5 @@ if __name__ == "__main__":
# Public-key cryptography course challenges
print(modular_exponentiation())
print(basic_encryption(12, 17, 23))
print(Euler_totient(857504083339712752489993810777, 1029224947942998075080348647219))
# fmt: on