minor fix - removed redundant data

This commit is contained in:
student 2025-10-07 08:37:28 +05:30
parent df44199a02
commit 23af6d5b1d
2 changed files with 1 additions and 2 deletions

View file

@ -71,9 +71,8 @@ def schnorr_verify(message: bytes, signature: Tuple[int, int], params: Tuple[int
def demo() -> None:
print("Lab6: ElGamal (encrypt/decrypt) and Schnorr (sign/verify) demo")
default_msg = os.environ.get("LAB6_MESSAGE", "Test message for Lab6")
try:
user_msg = input(f"Enter plaintext [{default_msg}]: ").strip()
user_msg = input(f"Enter plaintext: ").strip()
except EOFError:
user_msg = ""
message = (user_msg or default_msg).encode()

Binary file not shown.