|
bkcrack 1.7.1
Crack legacy zip encryption with Biham and Kocher's known plaintext attack.
|
Generate and reduce Z values. More...
#include <Zreduction.hpp>
Public Member Functions | |
| Zreduction (const std::vector< std::uint8_t > &keystream) | |
| Constructor generating Zi[10,32) values from the last keystream byte. | |
| void | reduce (Progress &progress) |
| Reduce Zi[10,32) number using extra contiguous keystream. | |
| void | generate () |
| Extend Zi[10,32) values into Zi[2,32) values using keystream. | |
| auto | getCandidates () const -> const std::vector< std::uint32_t > & |
| auto | getIndex () const -> std::size_t |
Generate and reduce Z values.
| auto Zreduction::getCandidates | ( | ) | const -> const std::vector< std::uint32_t > & |
| auto Zreduction::getIndex | ( | ) | const -> std::size_t |