Jump to content

Encrypt as well as set archive password in rar


Recommended Posts

Is it possible to encrypt as well set archive password in rar files?

AFAIK you can do either one of them. Can both be done at the same time? I have seen such rar archives though.

Like this perhaps?

Switch -HP[pwd] - encrypt both file data and headers


This switch is similar to -p[p], but switch -p encrypts only file data and leaves other information like file names visible. This switch encrypts all sensitive archive areas including file data, file names, sizes, attributes, comments and other blocks, so it provides a higher security level.

Without a password it is impossible to view even the list of files in archive encrypted with -hp.

add the file report.txt to the encrypted archive secret.rar using the password 'fGzq5yKw'

WinRAR a -hpfGzq5yKw secret report.txt

Link to comment
Share on other sites

Is it possible to encrypt as well set archive password in rar files?

When you use a password, the files in the archive ARE encrypted. You can't set a password without encrypting. The password hash is used to decrypt the files.

Unless you meant encrypting the file names too, and of course there's an option for that in the same place you enter your password, see the screenshot:


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...