Say I have a storage device that I want to use with my Windows 10 machine. I have some sensitive data on the drive and I would like to wipe the drive before using it. Normally I just use dd
to fill the drive with /dev/zero
or /dev/urandom
from a Linux machine. I know that's not the most secure, especially for flash storage, but it should be enough in my case.
But if I am planning to encrypt it with BitLocker in Windows anyway, and select the "encrypt entire drive" option instead of "encrypt used space only", is it necessary to wipe it with dd
beforehand? Or does BitLocker essentially secure-wipe it when it encrypts the whole drive?
Does the same answer apply to other full drive encryption methods such as LUKS?