bkcrack 1.7.1
Crack legacy zip encryption with Biham and Kocher's known plaintext attack.
|
#include "Keys.hpp"
#include "Progress.hpp"
Go to the source code of this file.
Functions | |
auto | recoverPassword (const Keys &keys, const std::vector< std::uint8_t > &charset, std::size_t minLength, std::size_t maxLength, std::string &start, int jobs, bool exhaustive, Progress &progress) -> std::vector< std::string > |
Try to recover the password associated with the given keys. | |
auto recoverPassword | ( | const Keys & | keys, |
const std::vector< std::uint8_t > & | charset, | ||
std::size_t | minLength, | ||
std::size_t | maxLength, | ||
std::string & | start, | ||
int | jobs, | ||
bool | exhaustive, | ||
Progress & | progress ) -> std::vector< std::string > |
Try to recover the password associated with the given keys.
keys | Internal keys for which a password is wanted |
charset | The set of characters with which to constitute password candidates |
minLength | The smallest password length to try |
maxLength | The greatest password length to try |
start | Starting point in the password search space. Also used as an output parameter to tell where to restart. |
jobs | Number of threads to use |
exhaustive | True to try and find all valid passwords, false to stop searching after the first one is found |
progress | Object to report progress |