5 ms·
Storing hashes of unencrypted files, would that allow FileVault to verify it was decrypted without error?
by Pywarrior 9y ago
Storing hashes of unencrypted files, would that allow FileVault to verify it was decrypted without error?
- poizan42 9y agoThe correct order is hash then encrypt, exactly so you can't do that. Now I don't know if FileVault is doing this correctly, but hopefully it does. Edit: So two people have downvoted me without explanation. Is what I'm saying wrong?
- maaaats 9y agoYou can't unhash, so you could never retrieve the original file again.
- mdekkers 9y agotwo people have downvoted me without explanation Sadly, that is the new normal for HN (and, I'll be downvoted for saying something like this)
- slaymaker1907 9y agoYou could also hash, encrypt, then hash again if you wanted extra integrity without decrypting. This is technically done with HTTPS through the TCP hash.