API changes to handle decryption offsets