1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-02-23 19:26:35 +00:00
Files
operating-system/buildroot/support/testing/tests/package/sample_python_passlib.py
Pascal Vizeli 41d3f59002 Update Buildroot to 2019.02.3 (#415)
* Update Buildroot to 2019-02.3

* Fix enter script

* Update ova_defconfig

* Fix network manager

* Remove runc patches

* Use same docker version

* Fix build

* Fix vmtools

* Fix depens

* Fix handling with tempfiles

* Fix permission handling

* Fix cp

* Cleanup

* Fix mounts
2019-06-27 11:58:50 +02:00

6 lines
189 B
Python

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)