List of all members.
Definition at line 65 of file test.py.
Member Function Documentation
Definition at line 66 of file test.py.
00067 def test_00__test_vectors(self):
00068 for plain, salt, expected in test_vectors:
00069 self.assertEqual(bcrypt.hashpw(plain, salt), expected)
Definition at line 70 of file test.py.
00071 def test_01__gensalt(self):
00072 for plain, salt, expected in test_vectors:
00073 for i in range(4,14,2):
00074 salt = bcrypt.gensalt(i)
00075 crypted = bcrypt.hashpw(plain, salt)
00076 crypted2 = bcrypt.hashpw(plain, crypted)
00077 self.assertEqual(crypted, crypted2)
The documentation for this class was generated from the following file: