Changes to EncryptKS - ArrayOutOfBounds fix

Fixed ArrayOutOfBounds exception by adding in a collection of chars as
opposed to a single string, into the array list to be iterated.