Inheritance diagram for Encipherer:
Collaboration diagram for Encipherer:Enciphers plain texts to cipher texts.
Public Types | |
| enum | EncipherMethod { ATBASH = ("de.uni_koeln.spinfo.cryptology.cryptanalysis.ciphergenerators.AtbashCipherGenerator"), GEMATRIA = ("de.uni_koeln.spinfo.cryptology.cryptanalysis.ciphergenerators.GematriaValueGenerator"), PLAYFAIR = ("de.uni_koeln.spinfo.cryptology.cryptanalysis.ciphergenerators.PlayfairCipherGenerator"), POLYBUS = ("de.uni_koeln.spinfo.cryptology.cryptanalysis.ciphergenerators.PolybusCipherGenerator"), CAESAR = ("de.uni_koeln.spinfo.cryptology.cryptanalysis.ciphergenerators.CaesarCipherGenerator"), VIGNERE = ("de.uni_koeln.spinfo.cryptology.cryptanalysis.ciphergenerators.VignereCipherGenerator"), POLYGRAPHIA_I = ("de.uni_koeln.spinfo.cryptology.steganalysis.ciphergenerators.PolygraphiaICipherGenerator"), POLYGRAPHIA_III = ("de.uni_koeln.spinfo.cryptology.steganalysis.ciphergenerators.PolygraphiaIIICipherGenerator"), POLYGRAPHIA_V = ("de.uni_koeln.spinfo.cryptology.cryptanalysis.ciphergenerators.PolygraphiaVCipherGenerator") } |
| enum | ConfigurationElement { KEY = ("Key"), ALPHABET = ("Alphabet"), REPLACEMENTS = ("Replacements"), WORD_SUBSTITUTES = ("Substitutes"), DELETE_WHITESPACE = ("Whitespace deletion") } |
Public Methods | |
| String | encipher (String plainText) |
| String | encipher (List< String > words) |
| void | configure (Map< ConfigurationElement, String > configurations) |
| Map< String, String > | getReplacements () |
| Set< Character > | getAlphabet () |
enum ConfigurationElement [inherited] |
| enum EncipherMethod |
| void configure | ( | Map< ConfigurationElement, String > | configurations | ) | [inherited] |
Configures the Cryptologer with the specified ConfigurationElement - String value pairs.
| configurations | Map of ConfigurationElement - String value pairs |
Implemented in AtbashCipherGenerator, CaesarCipherGenerator, GematriaValueGenerator, PlayfairCipherGenerator, PolybusCipherGenerator, PolygraphiaVCipherGenerator, VignereCipherGenerator, AtbashCipherAnalyzer, CaesarCipherAnalyzer, PlayfairCipherAnalyzer, PolybusCipherAnalyzer, PolygraphiaVCipherAnalyzer, VignereCipherAnalyzer, PolygraphiaICipherGenerator, PolygraphiaIIICipherGenerator, PolygraphiaICipherAnalyzer, PolygraphiaIVCipherAnalyzer, SteganographiaICipherAnalyzer, and SteganographiaIncantationAnalyzer.
| String encipher | ( | List< String > | words | ) |
Returns the cipher text of the specified cipher word sequence. Some methods (eg. Playfair) delete white spaces.
| words | Sequence of words to encipher. |
Implemented in AtbashCipherGenerator, CaesarCipherGenerator, GematriaValueGenerator, PlayfairCipherGenerator, PolybusCipherGenerator, PolygraphiaVCipherGenerator, VignereCipherGenerator, PolygraphiaICipherGenerator, and PolygraphiaIIICipherGenerator.
| String encipher | ( | String | plainText | ) |
Enciphers the specified text.
| plainText | text to encipher. |
Implemented in AtbashCipherGenerator, CaesarCipherGenerator, GematriaValueGenerator, PlayfairCipherGenerator, PolybusCipherGenerator, PolygraphiaVCipherGenerator, VignereCipherGenerator, PolygraphiaICipherGenerator, and PolygraphiaIIICipherGenerator.
| Set<Character> getAlphabet | ( | ) | [inherited] |
Returns a set of the alphabet of replacement characters
| Map<String, String> getReplacements | ( | ) | [inherited] |
Returns a map of the replacements that were used by the component