From b2e47e75a231baf5a7beca476256ab3d94e76c46 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期二, 01 四月 2025 10:08:15 +0800 Subject: [PATCH] code加密 --- app/utils/password_handle.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/utils/password_handle.py b/app/utils/password_handle.py index 2eebd7a..48063ed 100644 --- a/app/utils/password_handle.py +++ b/app/utils/password_handle.py @@ -31,13 +31,13 @@ async def password_encrypted(password): hash_pwd = cipher_suite.encrypt(password.encode("utf-8")).decode("utf-8") - print(hash_pwd) + # print(hash_pwd) return hash_pwd async def password_decrypted(hash_password): pwd = cipher_suite.decrypt(hash_password).decode("utf-8") - print(pwd) + # print(pwd) return pwd if __name__ == "__main__": # 鐢熸垚涓�涓�10浣嶇殑瀵嗙爜 -- Gitblit v1.8.0