readme fix
This commit is contained in:
@@ -79,12 +79,11 @@ message with DRACONDI.
|
||||
1. Randomly choose the initial offset from 0 to 25. Write its corresponding
|
||||
letter in the KA1 alphabet as the first ciphertext letter.
|
||||
2. For every plaintext letter, do the following:
|
||||
|
||||
2.1. Locate the plaintext letter position in the KA1 alphabet. Locate the
|
||||
* Locate the plaintext letter position in the KA1 alphabet. Locate the
|
||||
ciphertext position by moving (offset) letters to the right, wrapping
|
||||
around the alphabet if necessary.
|
||||
2.2. Write down the ciphertext letter according to the KA1 alphabet.
|
||||
2.3. Get the position of the ciphertext letter in the KA2 alphabet. Calculate
|
||||
* Write down the ciphertext letter according to the KA1 alphabet.
|
||||
* Get the position of the ciphertext letter in the KA2 alphabet. Calculate
|
||||
the next offset as the sum of that position and the amount of letters
|
||||
already encrypted in the message (modulo 26).
|
||||
|
||||
@@ -102,12 +101,11 @@ with DRACONDI.
|
||||
1. Derive the initial offset from the first ciphertext letter in the KA1
|
||||
alphabet. Discard the first ciphertext letter afterwards.
|
||||
2. For every remaining ciphertext letter, do the following:
|
||||
|
||||
2.1. Locate the ciphertext letter position in the KA1 alphabet. Locate the
|
||||
* Locate the ciphertext letter position in the KA1 alphabet. Locate the
|
||||
plaintext position by moving (offset) letters to the left, wrapping around
|
||||
the alphabet if necessary.
|
||||
2.2. Write down the plaintext letter according to the KA1 alphabet.
|
||||
2.3. Get the position of the ciphertext letter in the KA2 alphabet. Calculate
|
||||
* Write down the plaintext letter according to the KA1 alphabet.
|
||||
* Get the position of the ciphertext letter in the KA2 alphabet. Calculate
|
||||
the next offset as the sum of that position and the amount of letters
|
||||
already decrypted in the message (modulo 26).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user