version 1.2.1
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
parent
7ae3e4dc04
commit
c059a7dccd
3
rsa.py
3
rsa.py
@ -15,6 +15,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import MillerRabin as mr
|
import MillerRabin as mr
|
||||||
|
|
||||||
|
VERSION="1.2.1"
|
||||||
keysFolder = "keys/"
|
keysFolder = "keys/"
|
||||||
byteOrder = "little"
|
byteOrder = "little"
|
||||||
N=0
|
N=0
|
||||||
@ -26,7 +27,7 @@ PHI=5
|
|||||||
ID=6
|
ID=6
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
print("hesham-rsa version ", VERSION)
|
||||||
if len(sys.argv) > 1:
|
if len(sys.argv) > 1:
|
||||||
if sys.argv[1] == "gen": ##rsa gen <keysize> <keyname>
|
if sys.argv[1] == "gen": ##rsa gen <keysize> <keyname>
|
||||||
keyFileName = sys.argv[3]
|
keyFileName = sys.argv[3]
|
||||||
|
Loading…
Reference in New Issue
Block a user