diff --git a/rsa.py b/rsa.py index 31377c5..1b9aaa4 100755 --- a/rsa.py +++ b/rsa.py @@ -31,6 +31,9 @@ def main(): if sys.argv[1] == "gen": ##rsa gen keyFileName = sys.argv[3] key = generateKeys(keyFileName, int(sys.argv[2])) + print("e: ", key[E]) + print("n: ", key[N]) + print("d: ", key[D]) printKey(key) try: saveKeyFile(key, keyFileName) @@ -324,4 +327,4 @@ def printHelp(): print("rsa print ") if __name__ == "__main__": - main() \ No newline at end of file + main()