diff --git a/IS/Lab/Lab6/elgamal_schnorr.py b/IS/Lab/Lab6/elgamal_schnorr.py index cfe9bec..28d67e9 100644 --- a/IS/Lab/Lab6/elgamal_schnorr.py +++ b/IS/Lab/Lab6/elgamal_schnorr.py @@ -13,7 +13,6 @@ def elgamal_keygen(bits: int = 512) -> Tuple[Tuple[int, int, int], int]: h = pow(g, x, p) return (p, g, h), x - def elgamal_encrypt(message: bytes, pub_key: Tuple[int, int, int]) -> Tuple[int, int]: p, g, h = pub_key m = int.from_bytes(message, "big")