Skip to content

Commit fbd7747

Browse files
authored
Create test.py
1 parent 14b810a commit fbd7747

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import simplebcrypt
2+
hash1 = simplebcrypt.bhash("password")
3+
testhash = simplebcrypt.bhash("password".encode())
4+
if simplebcrypt.verify("password",hash1) != True:
5+
raise Exception("Verification error")

0 commit comments

Comments
 (0)