Sign in
android-kvm
/
buildroot
/
00e644adb182681a51d39375d70d0a888d0b950f
/
.
/
support
/
testing
/
tests
/
package
/
sample_python_passlib.py
blob: 3ab348b9e434750dc1e278fec0e139bb3639c86b [
file
] [
log
] [
blame
]
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
)