def test_dictionary_attack_invalid_hash(self): self.assertIsNone(pybozocrack.dictionary_attack(self.hash, ['zebra', '123']))
def test_dictionary_attack_invalid_hash(self): self.assertIsNone( pybozocrack.dictionary_attack(self.hash, ['zebra', '123']))
def test_dictionary_attack_known_hash(self): self.assertEqual(pybozocrack.dictionary_attack(self.hash, ['zebra', '123', self.plaintext]), self.plaintext)
def test_dictionary_attack_known_hash(self): self.assertEqual( pybozocrack.dictionary_attack(self.hash, ['zebra', '123', self.plaintext]), self.plaintext)