5 ms·
Can you explain why adding a encryption routine is faster than just blind overwriting the data with 0's? Genuinely curious as it seems that would not make sens
by DanBlake 14y ago
Can you explain why adding a encryption routine is faster than just blind overwriting the data with 0's?
Genuinely curious as it seems that would not make sense, if you overwrote it with zeros in a comparable, logical manner.
- JonnieCache 14y agoIf you encrypt the data, you only have to zero out the key (nanoseconds? maybe microseconds) instead of zeroing all the data. Assuming there is no backup of the key, the data is just as gone as if you'd zeroed it.
- DanBC 14y agoThe drive is always encrypted. In an emergency you only have to destroy a little bit of the drive; the part that stores the key.
- JoachimSchipper 14y agoWhat JonnieCache and DanBC say: keep the data encrypted at all times, then you can just overwrite the few bytes of the encryption key to render the data unreadable. This has the additional advantage that you only need to really securely erase a very small amount of storage (plus the controller's memory.) (Editing my original post to make this more clear. Sorry.)
- DanBlake 14y agoOh, I thought you mean "as you push it" encryption. When I was in the military, Encrypting data was not acceptable for disposal though. They make you physically destroy it, which is why I imagine they do things in this manner.
- JoachimSchipper 14y agoYes, physically destroying drives prevents problems ("oh that wasn't encrypted?", "turns out it still had parts of unencrypted data on it from the previous server it was installed in", "what do you mean 'encrypted according to 1995 standards' (DES) is no longer secure?"). It's a good policy; but if you offer both "destroy" and "erase", "my" crypto implementation of "erase" has a lot to recommend it. (And there's no reason you can't follow it with a good zero-everything.)
- deleted 14y ago[deleted]
- bunderbunder 14y agoThat approach does have the advantage of speed, but it's not really a substitute for physically overwriting all the data. History is rife with examples of people getting themselves into serious hot water by assuming that the lack of a well-known weakness in a cipher means that the cipher is secure. Anyone who's got an extremely high need for data security is hopefully keenly aware of that.
- lparry 14y agoThe data is stored encrypted by default, then once the key is discarded you no longer have data, just encrypted gibberish; all without writing to any of the disk where the data was. Much, much faster than having to zero out the whole disk
- 3mpach3r 14y agoClearly this is insufficient, it needs a pound or two of HMX. At a detonation velocity of 9100m/s, it should take care of the data (and everything else) just as fast. On a more serious note however, how hard would it be to break the encryption, especially if one were able to develop a sufficiently advanced computer in the future (ie. quantum computer)?