2023-10-06 18:07:22 +02:00
|
|
|
# Logical Alternating Shift Cipher
|
2023-10-06 17:52:09 +02:00
|
|
|
|
2023-10-06 17:59:13 +02:00
|
|
|
Made to talk with a friend without eavesdroppers.
|
2023-10-06 17:52:09 +02:00
|
|
|
|
2023-10-06 17:56:01 +02:00
|
|
|
## How does it work?
|
2023-10-06 17:52:09 +02:00
|
|
|
The tool uses a numerical key to shift the message's characters.
|
|
|
|
Only alphabetical characters are shifted.
|
2023-10-06 17:56:01 +02:00
|
|
|
|
|
|
|
Say the key is '1234' and the message is "Hello world".
|
|
|
|
We start by shifting "H" to the right once: "I".
|
|
|
|
Then we shift "e" to the left twice: "c".
|
|
|
|
We keep doing this until we get: "Icohp urnmb".
|
|
|
|
|
|
|
|
The alphabet and key are wrapped around.
|
|
|
|
So the actual key is `123412341234123412`...
|
|
|
|
|