1#ifndef BKCRACK_ZREDUCTION_HPP
2#define BKCRACK_ZREDUCTION_HPP
12 explicit Zreduction(
const std::vector<std::uint8_t>& keystream);
27 const std::vector<std::uint8_t>& keystream;
30 std::vector<std::uint32_t> zi_vector;
Structure to report the progress of a long operation or to cancel it.
Definition Progress.hpp:10
void generate()
Extend Zi[10,32) values into Zi[2,32) values using keystream.
auto getIndex() const -> std::size_t
void reduce(Progress &progress)
Reduce Zi[10,32) number using extra contiguous keystream.
auto getCandidates() const -> const std::vector< std::uint32_t > &
Zreduction(const std::vector< std::uint8_t > &keystream)
Constructor generating Zi[10,32) values from the last keystream byte.
Useful types, constants and utility functions.