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