def clean(self):
    if (self.cleaned_data['plaintext'] != self.cleaned_data['plaintext2']):
        raise forms.ValidationError({'plaintext2': 'The two given plaintext values do not match. Please check your input.'})
def clean(self):
    if (self.cleaned_data['plaintext'] != self.cleaned_data['plaintext2']):
        raise forms.ValidationError({'plaintext2': 'The two given plaintext values do not match. Please check your input.'})