4 ms·
The 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 tw
by poizan42 9y ago
The 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.