|
bkcrack 1.7.1
Crack legacy zip encryption with Biham and Kocher's known plaintext attack.
|
Opening files and loading raw data. More...
Go to the source code of this file.
Classes | |
| class | FileError |
| Exception thrown if a file cannot be opened. More... | |
Functions | |
| auto | openInput (const std::string &filename) -> std::ifstream |
| Open an input file stream. | |
| auto | loadStream (std::istream &is, std::size_t size) -> std::vector< std::uint8_t > |
| Load at most size bytes from an input stream. | |
| auto | loadFile (const std::string &filename, std::size_t size) -> std::vector< std::uint8_t > |
| Load at most size bytes from a file. | |
| auto | openOutput (const std::string &filename) -> std::ofstream |
| Open an output file stream. | |
Opening files and loading raw data.
This graph shows how functions from this file work together:
| auto loadFile | ( | const std::string & | filename, |
| std::size_t | size ) -> std::vector< std::uint8_t > |
Load at most size bytes from a file.
| FileError | if the file cannot be opened |
| auto openInput | ( | const std::string & | filename | ) | -> std::ifstream |
Open an input file stream.
| FileError | if the file cannot be opened |
| auto openOutput | ( | const std::string & | filename | ) | -> std::ofstream |
Open an output file stream.
| FileError | if the file cannot be opened |