Modify cipher and encrypt (decrypt not working)