diff --git a/backend/common/utils/crypto.py b/backend/common/utils/crypto.py new file mode 100644 index 0000000..dcd1a13 --- /dev/null +++ b/backend/common/utils/crypto.py @@ -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) \ No newline at end of file