Fix redorder encryption method