diff --git a/syote_comms.py b/syote_comms.py index 07f9ed1..d8bd667 100644 --- a/syote_comms.py +++ b/syote_comms.py @@ -225,6 +225,12 @@ def comms_process_wrap(state, input): return outbuf._from() +if __name__ == '__main__': + key = X25519.gen() + + print(key.getpriv().hex()) + print(key.getpub().hex()) + class TestX25519(unittest.TestCase): PUBLIC_BYTES = EC_PUBLIC_BYTES PRIVATE_BYTES = EC_PRIVATE_BYTES