feature: add setEncryptKey / setEncryptIv function