top | item 44015082

(no title)

codetrotter | 9 months 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?

discuss

order

pvg|9 months ago

You can just pad or HMAC the short sentence.

codetrotter|9 months ago

Absolutely. Padding it falls under making sure the text is not too short.