Adaptive chosen-message attack