def test_apprioprate_length_split_cbc_to_blocks(self): s = test_string.decode("hex") t = padding_oracle.split_cbc_to_blocks(s) self.assertEqual(len(t), 4)
def test_split_cbc_to_blocks(self): s = test_string.decode("hex") t = padding_oracle.split_cbc_to_blocks(s) print [x.encode("hex") for x in t]