support for decrypting mode