Add File
This commit is contained in:
7
backend/common/utils/crypto.py
Normal file
7
backend/common/utils/crypto.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from sqlbot_xpack.core import sqlbot_decrypt as xpack_sqlbot_decrypt, sqlbot_encrypt as xpack_sqlbot_encrypt
|
||||
|
||||
async def sqlbot_decrypt(text: str) -> str:
|
||||
return await xpack_sqlbot_decrypt(text)
|
||||
|
||||
async def sqlbot_encrypt(text: str) -> str:
|
||||
return await xpack_sqlbot_encrypt(text)
|
||||
Reference in New Issue
Block a user