mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
12 lines
No EOL
287 B
Python
12 lines
No EOL
287 B
Python
from core.modules.mod_access import *
|
|
import base64
|
|
|
|
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 |