So, I want to implement the RC4 encryption but everything I found online was not quite helpful. I don't understand how it works.
I have a string like s = "THIS IS A STRING" and a key k = "KEY". I found that I have to initialize an array from 0-255 and turn the key into ASCII or something like that. I get quite confused about the initialization. The guy I watched on YouTube he did an example but I got more confused.
Could anyone help me out? I just need the steps how to do it.