Prevent calling decryption in an encryption context and vice versa