Markopy
Utilizing Markov Models for brute forcing attacks
modelMatrix.cpp File Reference

An extension of Markov::API::MarkovPasswords. More...

#include "modelMatrix.h"
#include <map>
#include <cstring>
#include <thread>
Include dependency graph for modelMatrix.cpp:

Go to the source code of this file.

Detailed Description

An extension of Markov::API::MarkovPasswords.

Authors
Ata Hakçıl

This class shows superior performance compared to the traditional model at Markov::API::MarkovPasswords

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 modelMatrix.cpp.