From 5eeb46c4b41aa779dfaeafb6803f0929a81cba95 Mon Sep 17 00:00:00 2001 From: Student Date: Tue, 9 Sep 2025 09:35:02 +0530 Subject: [PATCH] updated lab5 and 6 --- IS/Lab/Lab6/elgamal_schnorr.py | 1 - 1 file changed, 1 deletion(-) 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")