7 ms·
If the sentence is too short it might be possible to guess. It’s not going to consist of random bytes. Imagine for example that a high profile celebrity accus
by codetrotter 1y ago
If the sentence is too short it might be possible to guess.
It’s not going to consist of random bytes.
Imagine for example that a high profile celebrity accused of murder has successfully defended himself in court and on that day he tweets:
I have something to reveal, but I won’t be telling you until the year 2135. Sha256 73fa194342af6b6e355e129fafd9b19d2a63589b1e3c6e2b5d94a7ca1b3e25f6
If this happens to be a short sentence related to recent events, don’t you think someone will figure out what he wrote pretty soon?
- pvg 1y agoYou can just pad or HMAC the short sentence.
- codetrotter 1y agoAbsolutely. Padding it falls under making sure the text is not too short.