RC4 mods; removed redundant functions; removed reliance on git