This commit is contained in:
HeshamTB 2020-04-17 16:37:10 +03:00
commit 01e3f69c94
Signed by: Hesham
GPG Key ID: 74876157D199B09E

2
rsa.py
View File

@ -137,6 +137,8 @@ def readKeyFile(keyName):
def saveKeyFile(key, fileName):
if not os.path.isdir(keysFolder):
os.makedirs(keysFolder)
with open(keysFolder+fileName, "w") as keyFile:
keyFile.write("{0}\n{1}\n{2}\n".format(hex(key[0]), hex(key[1]), hex(key[2])))