Linux cli command zip_file_set_encryption

➡ A Linux man page (short for manual page) is a form of software documentation found on Linux and Unix-like operating systems. This man-page explains the command zip_file_set_encryption and provides detailed information about the command zip_file_set_encryption, system calls, library functions, and other aspects of the system, including usage, options, and examples of _. You can access this man page by typing man followed by the zip_file_set_encryption.

libzip (-lzip)

The

function sets the encryption method for the file at position

in the zip archive to

using the password

The

is the same as returned by

For the

argument, currently only the following values are supported:

No encryption.

Winzip AES-128 encryption.

Winzip AES-192 encryption.

Winzip AES-256 encryption.

Traditional PKWare encryption. Do not use this method, it is not secure. It is only provided for backwards compatibility.

If

is

the default password provided by

is used.

The current encryption method for a file in a zip archive can be determined using

Upon successful completion 0 is returned. Otherwise, -1 is returned and the error information in

is set to indicate the error.

fails if:

Unsupported compression method requested.

is not a valid file index in

or the argument combination is invalid.

Required memory could not be allocated.

Read-only zip file, no changes allowed.

was added in libzip 1.2.0.

and

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░