fix(index) encrypt -> decrypt, decrypt -> encrypt