I'm looking at extracting password protected files from a .zip and found that QuaZip has the function below but no code examples or additional documentation on how to work with encrypted files.
Is it definitely possible to extract the encrypted files in QuaZip? and if it is where are some examples please :)
bool open (OpenMode mode, const char *password)
Opens a file for reading.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Argument password specifies a password to decrypt the file. If it is NULL then this function behaves just like open(OpenMode).
References open().
Referenced by open().
Try this: