bkcrack: include/bkcrack/password.hpp Source File

bkcrack 1.8.1 Crack legacy zip encryption with Biham and Kocher's known plaintext attack.

password.hpp
Go to the documentation of this file.
1#ifndef BKCRACK_PASSWORD_HPP
2#define BKCRACK_PASSWORD_HPP
3
4#include <bkcrack/Keys.hpp>
5#include <bkcrack/Progress.hpp>
6
8
23 auto recoverPassword(const Keys& keys, const std::vector<std::uint8_t>& charset, std::size_t minLength,
24 std::size_t maxLength, std::string& start, int jobs, bool exhaustive, Progress& progress)
25 -> std::vector<std::string>;
26
39 auto recoverPassword(const Keys& keys, const std::vector<std::vector<std::uint8_t>>& mask, std::string& start, int jobs,
40 bool exhaustive, Progress& progress) -> std::vector<std::string>;
41
42#endif // BKCRACK_PASSWORD_HPP
Keys
Keys defining the cipher state.
Definition Keys.hpp:10
Progress
Structure to report the progress of a long operation or to cancel it.
Definition Progress.hpp:11
recoverPassword
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.
mask
constexpr auto mask
Constant value for bit masking.
Definition types.hpp:39