Comment by shavetheyaks on 17/01/2025 at 00:31 UTC

1 upvotes, 1 direct replies (showing 1)

View submission: Why encrypt

View parent comment

That salt would need to be pre-shared in secret, the same as an encryption key. And cryptographically secure hashes are wasteful *by design* to make brute-force attacks harder. So if you're hashing the whole message with a secure hash, you're probably doing even more work than you would have if you were encrypting it.

Replies

Comment by tinspin at 17/01/2025 at 00:35 UTC

-1 upvotes, 2 direct replies

No the salt is sent from the receiver that wants to make sure something is what the sender says it is, and then the sender hashes the thing and the salt... MITM can't do anything.

I think it's time people read 2289 and implement it before they claim they understand anything related to cryptography.

2289 is also quantum safe.