theoEnc/client.py
2023-10-14 15:56:37 +02:00

13 lines
247 B
Python
Executable File

#!/usr/bin/python3
from theoEnc.E2EE import E2EE
seed = input("Seed: ")
e2ee = E2EE(seed)
while True:
ckeypart = input("Neuer Schlüsselteil: ").encode()
e2ee.add_compressed_key_part(ckeypart, 10)
print("\nKey: " + e2ee.get_key())