refine rc4 crypt