S1C6: break repeating-key XOR (+ refactoring).