pub async fn compress_to_path_encrypted(
src: impl AsRef<Path>,
dest: impl AsRef<Path>,
password: Password,
) -> Result<(), Error>Available on crate feature
compress and non-WebAssembly and crate feature aes256 only.Expand description
Compresses a source file or directory to a destination file path with password encryption.
This is a convenience function that handles file creation automatically.
ยงArguments
src- Path to the source file or directory to compressdest- Path where the encrypted compressed archive will be createdpassword- Password to encrypt the archive with