I have been trying to troubleshoot my vigenere code for a little bit tonight. My psuedocode makes sense, but translating it to the code:
- code works if I use lower case and no spaces
- cipher does not work if I use upper case letters -it does not cipher the right amount of letter spaces for the key.
- When I add spaces and/ or non-alpha characters the loop still thinks this space is a valid space and does not skip it... I print the non alpha or space accurately, but it throws cipher off by the same amount of those spaces..
see a portion of code below. I know I should be freezing key for items in #3.. thought I was doing that. For the upper case, a little lost. .
Help -Thanks]1