rc4 encoder now works