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

does veracrypt verify data once envrypted?

Topics: Users Discussion
Mar 10, 2016 at 5:04 AM
Edited Mar 10, 2016 at 5:05 AM
i want to do the whole system encryption thing. but i have alot of important data on my drive.

now usually when i encrypt a data drive, there is a back up drive as well. so once i encrypt the drive, i then compare the drive (mounted via VC) with the back up drive. this is to ensure all bytes are exactly the same.

However its a bit different with the drive that has the OS on it. So I was wondering, when VC encrypts a byte, does it do some verification to ensure its decrypted byte is the same as original byte? for example a method would be the following:
  1. Read next byte from drive into memory location X
  2. encrypt byte with given key, store in memory location Y
  3. decrypt the recently encrypted byte, store in memory location Z
  4. compare decrypted byte Z with original byte X
  5. If comparison is true, then store Y onto drive where X was.
If it does do a verification of data integrity, i would love to know an abstract version of the steps it takes (kind of how i did with my example).