コード例 #1
0
ファイル: test_camcrypt.py プロジェクト: gtback/camcrypt
 def test_encrypt_block(self):
     c = CamCrypt()
     c.keygen(128, "\x80" + "\x00" * 15)
     expected = "6c227f749319a3aa7da235a9bba05a2c"
     self.assertEqual(expected, c.encrypt_block(ZERO_BUF).encode("hex"))