Markopy
Utilizing Markov Models for brute forcing attacks
|
CPython wrapper for libmarkov utils. More...
Go to the source code of this file.
Namespaces | |
Markov | |
Namespace for the markov-model related classes. Contains Model, Node and Edge classes. | |
Markov::Markopy | |
CPython module for Markov::API objects. | |
Macros | |
#define | BOOST_ALL_STATIC_LIB 1 |
#define | BOOST_PYTHON_STATIC_LIB 1 |
Functions | |
Markov::Markopy::BOOST_PYTHON_MODULE (markopy) | |
CPython wrapper for libmarkov utils.
This file is a wrapper for libmarkov utilities, exposing:
Markov::Model with char represented nodes. Includes wrappers for Markov::Model and additional helper functions to handle file I/O
This class is an extension of Markov::Model<char>, with higher level abstractions such as train and generate.
Class to flatten and reduce Markov::Model to a Matrix. Matrix level operations can be used for Generation events, with a significant performance optimization at the cost of O(N) memory complexity (O(1) memory space for slow mode)
To limit the maximum memory usage, each generation operation is partitioned into 50M chunks for allocation. Threads are sychronized and files are flushed every 50M operations.
Definition in file markopy.cpp.
#define BOOST_ALL_STATIC_LIB 1 |
Definition at line 24 of file markopy.cpp.
#define BOOST_PYTHON_STATIC_LIB 1 |
Definition at line 25 of file markopy.cpp.