Krice
Arcane
- Joined
- May 29, 2010
- Messages
- 1,630
Encryption has now a 2x2 scramble matrix, but it's kind of too small, because if you mix words in sets of 4 letters it's still almost possible to read the text, because how brain works. And actually even if there is a clever matrix scramble you can only have a small permutation set for four letters anyway. This is maybe way too much work for such a small feature in the game, but it could be interesting to try a larger matrix with different kind of scrambling, like scrolling the matrix in different directions for each row and column. I think 5x5 could be enough, that's 25 letters mixed at a time. The problem with this approach is that the input file should be at least 25 bytes and in worst case scenario there is a 24 byte tail that can't be scrambled.