mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-27 13:37:13 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
from passlib.hash import pbkdf2_sha256
|
||||
|
||||
hash = pbkdf2_sha256.hash("password")
|
||||
assert(pbkdf2_sha256.verify("passWord", hash) is False)
|
||||
assert(pbkdf2_sha256.verify("password", hash) is True)
|
||||
Reference in New Issue
Block a user