mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-02-15 04:32:15 +00:00
11 lines
273 B
Python
11 lines
273 B
Python
|
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
|