# Securely erase a previously used address from bitcoin-core

I'd like to completely delete an address from bitcoin-core, in such a way that someone who obtains all the data on my computer could not find out I ever used that address.

Is it enough to delete wallet.dat? Is there a less destructive way?

• You might need to use special file deletion software or your wallet.dat may be recovered. – MCCCS Sep 3 '20 at 18:14
• The address may also be in debug.log and other log files, as well as earlier versions of those files that may have been deleted but their data is still on the disk. If you need to be certain, there are not a lot of options short of wiping or destroying the entire disk. – Nate Eldredge Sep 3 '20 at 18:18
• It is definitely worth doign a risk assessment here. If that bitcoin address is going to reveal that you are a traitor to your nation and get you imprisoned or worse and some three letter agencies are breathing down your neck, then you're going to want a higher degree of certainty than if you just want to make sure your family doesn't link you to an activity they don't approve of. – Cort Ammon Sep 4 '20 at 2:56