mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
first commit
This commit is contained in:
commit
5352a2b94a
396 changed files with 10008 additions and 0 deletions
11
code/scripts/main/core/libs/hcrypt.py
Normal file
11
code/scripts/main/core/libs/hcrypt.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue