README.md edited online with Bitbucket
This commit is contained in:
34
README.md
34
README.md
@@ -1,6 +1,33 @@
|
|||||||
# Cipher Stream Java
|
# Cipher Stream Java
|
||||||
This is a Java port of the C++ library [Cipher Stream](https://bitbucket.org/Mattrixwv/CipherStream)
|
This is a Java port of the C++ library [Cipher Stream](https://bitbucket.org/Mattrixwv/CipherStream)
|
||||||
|
|
||||||
|
|
||||||
|
## Combination
|
||||||
|
TODO:
|
||||||
|
|
||||||
|
### ADFGX
|
||||||
|
TODO:
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```
|
||||||
|
Square Keyword = SQUAREKEYWORD
|
||||||
|
Keyword = KEYWORD
|
||||||
|
Message = Message to encode
|
||||||
|
AAGAGADFAGAXXDAXDXADAFAFXDDGDF
|
||||||
|
```
|
||||||
|
|
||||||
|
### ADFGVX
|
||||||
|
TODO:
|
||||||
|
|
||||||
|
Example:
|
||||||
|
```
|
||||||
|
Square Keyword = SQUAREKEYWORD
|
||||||
|
Keyword = KEYWORD
|
||||||
|
Message = Message to encode
|
||||||
|
AXGVDAVFXGAGFAAFAGAAXDXFGDAGDA
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Mono-Substitution
|
## Mono-Substitution
|
||||||
These are simple ciphers where a single character is transformed into a single or multiple characters the same way each time it is encountered in the input. These are simple ciphers and easy to break.
|
These are simple ciphers where a single character is transformed into a single or multiple characters the same way each time it is encountered in the input. These are simple ciphers and easy to break.
|
||||||
|
|
||||||
@@ -61,6 +88,10 @@ Message to encode ->
|
|||||||
Wiqooxh fs wfcuhx
|
Wiqooxh fs wfcuhx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Poly-Substitution
|
||||||
|
These ciphers are slightly more complex, encoding multiple letters at the same time making the cipher harder to crack. While many of these keep one letter from always being encoded as another single letter it often does so in such a way that if multiple letters are often seen together they will be encoded the same way. This is offset somewhat because they have to appear in the same location in the cipher text % the number of letters you are encoding by. i.e. If you are using a cipher that encodes with pairs the 'es' in 'mess' and 'these' would not encode to the same thing because 'me' and 'ss' are encoded in the first example while 'th', 'es', 'e_' are encoded in the second, unless there were an odd number of characters before one of these words, shifting one of the words by one place.
|
||||||
|
|
||||||
### Columnar
|
### Columnar
|
||||||
TODO:
|
TODO:
|
||||||
|
|
||||||
@@ -71,9 +102,6 @@ Message to encode ->
|
|||||||
Edxeoxm te acxgoxsnxsex
|
Edxeoxm te acxgoxsnxsex
|
||||||
```
|
```
|
||||||
|
|
||||||
## Poly-Substitution
|
|
||||||
These ciphers are slightly more complex, encoding multiple letters at the same time making the cipher harder to crack. While many of these keep one letter from always being encoded as another single letter it often does so in such a way that if multiple letters are often seen together they will be encoded the same way. This is offset somewhat because they have to appear in the same location in the cipher text % the number of letters you are encoding by. i.e. If you are using a cipher that encodes with pairs the 'es' in 'mess' and 'these' would not encode to the same thing because 'me' and 'ss' are encoded in the first example while 'th', 'es', 'e_' are encoded in the second, unless there were an odd number of characters before one of these words, shifting one of the words by one place.
|
|
||||||
|
|
||||||
### Morse
|
### Morse
|
||||||
This is technically not a cipher, at least any more than writing is encoded speach, as it is meant to enocde information for transmission in a different media. It has been around for a long time and used to be widely known and used, though in recent years it is mainly used by hobbyists. Using this code a letter or number is converted to 1 or more .'s and -'s (dots and dashes or dits and dahs). It does not require a key.
|
This is technically not a cipher, at least any more than writing is encoded speach, as it is meant to enocde information for transmission in a different media. It has been around for a long time and used to be widely known and used, though in recent years it is mainly used by hobbyists. Using this code a letter or number is converted to 1 or more .'s and -'s (dots and dashes or dits and dahs). It does not require a key.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user