decompress_with_password

Function decompress_with_password 

Source
pub async fn decompress_with_password<R: AsyncRead + AsyncSeek + Unpin + Send>(
    src_reader: R,
    dest: impl AsRef<Path>,
    password: Password,
) -> Result<(), Error>
Available on crate feature aes256 and non-WebAssembly only.
Expand description

Decompresses an encrypted archive from a reader with the given password.

ยงArguments

  • src_reader - Reader containing the encrypted archive data
  • dest - Path to the destination directory where files will be extracted
  • password - Password to decrypt the archive