mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
5
support/testing/tests/package/sample_python_passlib.py
Normal file
5
support/testing/tests/package/sample_python_passlib.py
Normal file
@@ -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