def getParams() -> Optional[Dict[str, ParamSpec]]: return { "enable_nested": ParamSpec(req=False, desc="Enables nested ciphers. " "Incredibly slow, and not guaranteed to terminate", default="False"), "invert_priority": ParamSpec( req=False, desc="Causes more complex encodings to be looked at first. " "Good for deeply buried encodings.", default="False"), "max_cipher_depth": ParamSpec( req=False, desc="The depth at which we stop trying to crack ciphers. " "Set to 0 to disable", default="0"), "max_depth": ParamSpec(req=False, desc="The depth at which we give up. " "Set to 0 to disable", default="0"), "priority_cap": ParamSpec( req=False, desc="Sets the maximum depth before we give up ordering items.", default="2"), }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "expected": ParamSpec( desc="The expected distribution of the plaintext", req=False, config_ref=["default_dist"], ), "group": ParamSpec( desc= "An ordered sequence of chars that make up the caesar cipher alphabet", req=False, default="abcdefghijklmnopqrstuvwxyz", ), "lower": ParamSpec( desc= "Whether or not the ciphertext should be converted to lowercase first", req=False, default=True, ), "p_value": ParamSpec( desc="The p-value to use for standard frequency analysis", req=False, default=0.01, ) # TODO: add "filter" param }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "top1000": ParamSpec( desc="A wordlist of the top 1000 words", req=False, default="cipheydists::list::english1000", ), "wordlist": ParamSpec( desc="A wordlist of all the words", req=False, default="cipheydists::list::english", ), "stopwords": ParamSpec( desc="A wordlist of StopWords", req=False, default="cipheydists::list::englishStopWords", ), "threshold": ParamSpec( desc="The minimum proportion (between 0 and 1) that must be in the dictionary", req=False, default=0.45, ), "phases": ParamSpec( desc="Language-specific phase thresholds", req=False, default="cipheydists::brandon::english", ), }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "invert_priority": ParamSpec(req=False, desc="Causes more complex encodings to be looked at first. " "Good for deeply buried encodings.", default="True"), "priority_cap": ParamSpec(req=False, desc="Sets the maximum depth before we give up on the priority queue", default="3") }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "checker": ParamSpec(req=True, desc="The checkers to be used for analysis", list=True), "k": ParamSpec( req=False, desc= "The minimum quorum size. Defaults to the number of checkers", ), }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "expected": ParamSpec( desc="The expected distribution of the plaintext", req=False, config_ref=["default_dist"], ), "dict": ParamSpec( desc="The Baconian alphabet dictionary to use", req=False, default="cipheydists::translate::baconian", ), }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "expected": ParamSpec( desc="The expected distribution of the plaintext", req=False, config_ref=["default_dist"], ), "p_value": ParamSpec( desc="The p-value to use for standard frequency analysis", req=False, default=0.01, ) # TODO: add "filter" param }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "invert_priority": ParamSpec( req=False, desc="Causes more complex encodings to be looked at first. " "Good for deeply buried encodings.", default="False"), "disable_priority": ParamSpec(req=False, desc="Disables the priority queue altogether. " "May be much faster, but will take *very* odd paths", default="True") }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "expected": ParamSpec( desc="The expected distribution of the plaintext", req=False, config_ref=["default_dist"], ), "group": ParamSpec( desc="An ordered sequence of chars that make up the alphabet", req=False, default="abcdefghijklmnopqrstuvwxyz", ), }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "dict": ParamSpec( desc="The Soundex dictionary to use", req=False, default="cipheydists::translate::soundex", ), "freq": ParamSpec( desc="The word frequency dictionary to use", req=False, default="cipheydists::list::English5000Freq", ), }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "dict": ParamSpec( desc="The quadgrams dictionary to use", req=False, default="cipheydists::dist::quadgrams", ), "score": ParamSpec( desc="The score threshold to use", req=False, default=0.00011, ), }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "dict": ParamSpec( desc="The baudot alphabet dictionary to use", req=False, default="cipheydists::translate::baudot", ) }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "dict": ParamSpec( desc="The leetspeak dictionary to use", req=False, default="cipheydists::translate::leet", ) }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "dict": ParamSpec( desc="The alphabet used for the atbash operation.", req=False, default="cipheydists::list::englishAlphabet", ) }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "resource": ParamSpec( req=True, desc="A list of regexes that could be matched", list=True, ) }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "regex": ParamSpec( req=True, desc="The regex that must be matched (in a substring)", list=True, ) }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "expected": ParamSpec( desc="The expected distribution of the plaintext", req=False, config_ref=["default_dist"], ) }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "dict": ParamSpec( desc="The charset used for the decoder.", req=False, default="cipheydists::list::base69", ) }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "dict": ParamSpec( desc="Brainfuck alphabet (default English)", req=False, default="cipheydists::list::englishAlphabet", ) }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "dict": ParamSpec( desc= "The table of letters used for the tap code interpretation.", req=False, default="cipheydists::translate::tap_code", ) }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "enable_nested": ParamSpec(req=False, desc="Enables nested ciphers. " "Incredibly slow, and not guaranteed to terminate", default="False"), "invert_priority": ParamSpec( req=False, desc="Causes more complex encodings to be looked at first. " "Good for deeply buried encodings.", default="True"), "priority_cap": ParamSpec( req=False, desc= "Sets the maximum depth before we give up on the priority queue", default="3") }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "expected": ParamSpec( desc="The expected distribution of the plaintext", req=False, config_ref=["default_dist"], ), "keysize": ParamSpec( desc= "A key size that should be used. If not given, will attempt to work it out", req=False, ), "p_value": ParamSpec( desc="The p-value to use for windowed frequency analysis", req=False, default=0.001, ), }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "expected": ParamSpec( desc="The expected distribution of the plaintext", req=False, config_ref=["default_dist"], ), "group": ParamSpec( desc= "An ordered sequence of chars that make up the ROT47 cipher alphabet", req=False, default= """!"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~""", ), "p_value": ParamSpec( desc="The p-value to use for standard frequency analysis", req=False, default=0.01, ) # TODO: add "filter" param }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "expected": ParamSpec( desc="The expected distribution of the plaintext", req=False, config_ref=["default_dist"], ), "group": ParamSpec( desc= "An ordered sequence of chars that make up the ASCII shift cipher alphabet", req=False, default= """\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f""", ), "p_value": ParamSpec( desc="The p-value to use for standard frequency analysis", req=False, default=0.01, ) # TODO: add "filter" param }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "expected": ParamSpec( desc="The expected distribution of the plaintext", req=False, config_ref=["default_dist"], ), "group": ParamSpec( desc= "An ordered sequence of chars that make up the caesar cipher alphabet", req=False, default="abcdefghijklmnopqrstuvwxyz", ), "lower": ParamSpec( desc= "Whether or not the ciphertext should be converted to lowercase first", req=False, default=True, ), "keysize": ParamSpec( desc= "A key size that should be used. If not given, will attempt to work it out", req=False, ), "p_value": ParamSpec( desc="The p-value to use for windowed frequency analysis", req=False, default=0.5, ), "detect_p_value": ParamSpec( desc="The p-value to use for the detection of Vigenere length", req=False, default=0.01, ), "clamp": ParamSpec( desc= "The maximum number of candidates that can be returned per key len", req=False, default=10, ), }
def getParams() -> Optional[Dict[str, ParamSpec]]: return { "path": ParamSpec(req=True, desc="The path to a JSON file", list=True) }
def getParams() -> Optional[Dict[str, ciphey.iface.ParamSpec]]: return {"path": ParamSpec(req=True, desc="The path to a CSV file", list=True)}