Compare commits
1 Commits
EE494-exte
...
master
Author | SHA1 | Date | |
---|---|---|---|
2ae7d09c25 |
5
rsa.py
Normal file → Executable file
5
rsa.py
Normal file → Executable file
@ -31,6 +31,11 @@ ID = 6
|
||||
|
||||
def main():
|
||||
print("hesham-rsa version ", VERSION)
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
printHelp()
|
||||
sys.exit(127)
|
||||
|
||||
if sys.argv[1] == "gen" and len(sys.argv) == 4: ##rsa gen <keysize> <keyname>
|
||||
keyFileName = sys.argv[3]
|
||||
if keyExist(keyFileName):
|
||||
|
Loading…
Reference in New Issue
Block a user