Encryption Algorithm
Simredo's encryption algorithm is based on Columnar Encryption. Suppose that the text to encrypt is 'This is my text.' and that the encryption key is 'my key'. The first step is to arrange the text in columns under the key. The last row must be padded to complete it. Simredo uses new-line characters for padding. At right, these are represented as dashes. |
my key
|
ekmyy
|
The next step is to sort the key. 'my key' becomes ' ekmyy'. The columns under the key are also sorted in the same order.
The columns are now read out as rows. The encrypted text becomes: |
In order to obscure things further, Simredo inverts bits in each character using xor.