Add checking of encrypted text