12345678 |
- import krypto.hashes
- import unittest
- class TestHash(unittest.TestCase):
-
- def teste_hashMod(self):
- first_param = krypto.hashes.hashMod('Hi'.encode('utf-8'))
- second_param = krypto.hashes.hashMod('Hi'.encode('utf-8'))
- self.assertEquals(first_param, second_param, 'fehler ungleich')
|