1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-02-15 04:32:15 +00:00
HyperProxmox/code/scripts/main/core/libs/hcrypt.py

11 lines
273 B
Python
Raw Normal View History

2017-10-21 20:04:42 +00:00
from core.modules.mod_access import *
def pcrypt(data, key):
CritConf = CryticalData()
data = CritConf.data_encryption(data, key)
return data
def pdecrypt(data, key):
CritConf = CryticalData()
data = CritConf.data_decryption(data, key)
return data