Open glebm opened 3 years ago
Previously, libmpq tried to brute-force the decryption key based on known contents, and only for packed files.
This caused issues, such as https://github.com/mbroemme/libmpq/issues/13.
Adds a new function, libmpq__block_open_offset_with_filename, that uses the filename to obtain the decryption key.
libmpq__block_open_offset_with_filename
Previously, libmpq tried to brute-force the decryption key based on known contents, and only for packed files.
This caused issues, such as https://github.com/mbroemme/libmpq/issues/13.
Adds a new function,
libmpq__block_open_offset_with_filename
, that uses the filename to obtain the decryption key.