So I was looking up code for a Vignere Cipher and I found this:
I'm not very experienced in programming so I had some trouble understanding some parts of this code.
If someone could explain what this line of code does in simpler terms that would be very helpful.
j = j + 1 == key.length() ? 0 : j + 1;
Also that above code is not mine and I don't intend on using it, I just need clarification for my understanding.