Beispiel #1
0
 def test_prepend_oracle_crack(self):
     assert is_english(aes.break_ecb(aes.prepend_oracle)), \
            'failed to break prepend_oracle'
Beispiel #2
0
 def test_oracle_crack(self):
     assert is_english(aes.break_ecb(aes.encryption_oracle)), \
            'failed to break encryption_oracle'