from datatools.dataencryptor import *
from systemtools.basics import *

de = DataEncryptor()

key = '<KEY>'
idRsaPubPath = homeDir() + "/b.txt"
idRsa = fileToStr(idRsaPubPath)
key = idRsa + key
key = md5(key)
print(key)


encryptFile(homeDir() + "/b.json", key,
                            ext=de.encryptedExtensionSecondPart,
                            remove=False)










from datatools.dataencryptor import *
from systemtools.basics import *

de = DataEncryptor()

key = '<KEY>'
idRsaPubPath = homeDir() + "/b.txt"
idRsa = fileToStr(idRsaPubPath)
key = idRsa + key
key = md5(key)
print(key)


encryptFile(homeDir() + "/b.json", key,
                            ext=de.encryptedExtensionSecondPart,
                            remove=False)









