This is, at most, a slight annoyance in the description. It is easy enough to figure out from the rest of the description and the test cases that your solution can't assume that the key length is the same as the text to encode or decode.
You misterpreted the description.
The key IS repeated throughout the message, but you don't need to make them the same length.
A little bit of modulo math.. et voíla!
This is, at most, a slight annoyance in the description. It is easy enough to figure out from the rest of the description and the test cases that your solution can't assume that the key length is the same as the text to encode or decode.
You misterpreted the description.
The key IS repeated throughout the message, but you don't need to make them the same length.
A little bit of modulo math.. et voíla!
This comment is hidden because it contains spoiler information about the solution