Simplify the Encrypt|Decrypt method