Encrypt and decrypt work with crypto-api