Fixed Rc4 implementation