Skip to main content

Timeline for Error wrapping around vigenere

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Sep 26, 2017 at 7:17 comment added Blauelf You could use k[j] - 'a' later, in the formula, or do this once, for example before your main loop. I somewhat dislike the idea of storing numbers in a char[], though, at least if it were meant to represent a string.
Sep 25, 2017 at 17:44 vote accept Michel Ortega
Sep 25, 2017 at 17:23 comment added Michel Ortega so you suggest to not use it? Trying to use it but only once. The thing is that it helps but it doesn't wrap around. Works if the keyword and plaintext are the same size.
Sep 25, 2017 at 16:42 history answered Blauelf CC BY-SA 3.0