7z documentation:

https://documentation.help/7-Zip/method.htm

seems the default is ZipCrypto

unar works if the file is compressed with:

$ 7z a -mem=ZipCrypto -tzip -p1234 foo.zip bar baz
$ 7z a -tzip -p1234 foo.zip bar baz

and unar fails if the file is compressed with:

$ 7z a -mem=AES128 -tzip -p1234 foo.zip bar baz
$ 7z a -mem=AES192 -tzip -p1234 foo.zip bar baz
$ 7z a -mem=AES256 -tzip -p1234 foo.zip bar baz

Reply via email to