Change encryption method