Encryption
Encryption is the process of turning readable data into ciphertext with an algorithm and a key, so that only someone with the right key can turn it back.
Phones, tablets and computers can encrypt the data they store. Android and Apple phones encrypt user data, Windows can encrypt a whole drive with BitLocker, and Macs can do the same with FileVault. The data on the storage chips or platters is ciphertext. The device decrypts it as it reads, once you unlock it with your passcode, password or key.
What does encryption mean for recovering data?
Recovering an encrypted drive takes two things: readable sectors and the key. Getting the data off a failing device is one step. Decrypting it is another, and that step needs the password, PIN or recovery key. Without the key, the recovered sectors are still ciphertext. A password or PIN unlocks the key that encrypts the data; it isn’t the key itself. That’s why a recovery key can open the data when the password is lost.
What happens when the encryption key is destroyed?
The data becomes unreadable for good. Erasing the key is itself a recognised way of wiping a drive, called cryptographic erase, and SNIA describes it as making recovery of the decrypted data infeasible. Apple says that erasing the key on its devices renders all files cryptographically inaccessible. Erase All Content and Settings on an iPhone works this way.
What should you do before an encrypted device fails?
Keep the recovery key somewhere else. For BitLocker, that is the recovery key in Microsoft’s BitLocker guidance, kept away from the computer itself. If an encrypted device has already failed, find the password and any recovery key before anything else. Do not reset or reinstall the device to get past the lock screen. Recovering data from a failed encrypted drive is covered on the encrypted drive data recovery page.
Common misconceptions
Can encrypted data be recovered without the password or key?
No. Encryption is designed so that the data can’t be read without the key. A failed encrypted drive can be read back, but the files only become usable once the right password or recovery key is supplied.
Keep exploring
- Factory reset
An option that returns a device to its factory state, usually removing your data.
- Logical failure
A fault in the file system, partition or files while the hardware still works.
- Solid-state drive (SSD)
A storage device that keeps data in memory chips instead of spinning platters.