Added examples to README
This commit is contained in:
41
README.md
41
README.md
@@ -9,7 +9,8 @@ This is not technically a cipher, it simply converts ASCII characters to their n
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
TODO:
|
Message to encode ->
|
||||||
|
1001101 1100101 1110011 1110011 1100001 1100111 1100101 100000 1110100 1101111 100000 1100101 1101110 1100011 1101111 1100100 1100101
|
||||||
```
|
```
|
||||||
|
|
||||||
### Baconian
|
### Baconian
|
||||||
@@ -17,7 +18,8 @@ The Baconian cipher is similar to Base2 encoding (binary) except that the alphab
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
TODO:
|
Message to encode ->
|
||||||
|
ababb aabaa baaab baaab aaaaa aabba aabaa baaba abbab aabaa abbaa aaaba abbab aaabb aabaa
|
||||||
```
|
```
|
||||||
|
|
||||||
### Caesar
|
### Caesar
|
||||||
@@ -25,7 +27,9 @@ The Caesar cipher offsets the letters in the alphabet by a given amount. It does
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
TODO:
|
offset = 3
|
||||||
|
Message to encode ->
|
||||||
|
Phvvdjh wr hqfrgh
|
||||||
```
|
```
|
||||||
|
|
||||||
### Atbash
|
### Atbash
|
||||||
@@ -33,7 +37,8 @@ The Atbash cipher reverses the alphabet for encryption. i.e. a = z, b = y, ....
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
TODO:
|
Message to enocde ->
|
||||||
|
Nvhhztv gl vmxlwv
|
||||||
```
|
```
|
||||||
|
|
||||||
### Vigenere
|
### Vigenere
|
||||||
@@ -41,7 +46,9 @@ TODO: The Vigenere cipher shifts each letter in the input a varied amount based
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
TODO:
|
key = keyword
|
||||||
|
Message to encode ->
|
||||||
|
Wiqooxh ds cjqfgo
|
||||||
```
|
```
|
||||||
|
|
||||||
### Autokey
|
### Autokey
|
||||||
@@ -49,7 +56,9 @@ The Autokey cipher works in a similar way to the Vigenere cipher except that ins
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
TODO:
|
key = keyword
|
||||||
|
Message to encode ->
|
||||||
|
Wiqooxh fs wfcuhx
|
||||||
```
|
```
|
||||||
|
|
||||||
## Poly-Substitution
|
## Poly-Substitution
|
||||||
@@ -60,10 +69,24 @@ This is technically not a cipher, at least any more than writing is encoded spea
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
```
|
```
|
||||||
TODO:
|
Message to encode ->
|
||||||
|
-- . ... ... .- --. . - --- . -. -.-. --- -.. .
|
||||||
```
|
```
|
||||||
|
|
||||||
### Playfair
|
### Playfair
|
||||||
### PolybiusSquare
|
TODO:
|
||||||
|
|
||||||
TODO: Change leave_ booleans to preserve_
|
Example:
|
||||||
|
```
|
||||||
|
Message to encode ->
|
||||||
|
NKQZPCNDZKDULCGD
|
||||||
|
```
|
||||||
|
|
||||||
|
### PolybiusSquare
|
||||||
|
TODO:
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```
|
||||||
|
Message to encode ->
|
||||||
|
41124545233212 5115 124225152212
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user