This project has moved. For the latest updates, please go here.

Question: How long does it take to unencrypt or change password (does duration increase with storage used?)

Topics: Users Discussion
Apr 20, 2016 at 11:18 AM
1) If I wanted to remove the encryption of a drive, how long would it take - does the time required increase with the amount of storage used? (I guess it does)

2) If I wanted to change the password, does it unencrypt every used blocks and then re-encrypt the block with the new password?
Apr 20, 2016 at 2:17 PM
It would take a long time to decrypt the drive, perhaps as long as it took to encrypt it.

Changing the password doesn't, I believe, change the actual key used to encrypt the drive, it just re-encrypts the original encryption key using the new password/PIM/keyfiles. So, a password change is not significant. Headers will be updated, so back them up, but the data throughout the disk will be left as is.
Apr 20, 2016 at 2:54 PM
therobyouknow wrote:
1) If I wanted to remove the encryption of a drive, how long would it take - does the time required increase with the amount of storage used? (I guess it does)
.
If anyone understands the source code, please provide an answer if the entire non-system without hidden volume is decrypted or just the used space within the volume.

https://sourceforge.net/p/veracrypt/code/ci/9c095a8051efb2d50d9dc0f39071ce516419eceb/

therobyouknow wrote:
2) If I wanted to change the password, does it unencrypt every used blocks and then re-encrypt the block with the new password?
.
Changing the password, PIM and/or keyfiles only changes the header key which contains the encryption key (master key) used for the VeraCrypt volume. Therefore, there is no re-encrypting of the "data" of the volume.

https://veracrypt.codeplex.com/wikipage?title=Changing%20Passwords%20and%20Keyfiles