pub fn validate_plaintext(plaintext: &[u8]) -> Result<()>
Validate plaintext using the global validator