|
|
|
|
|
by Dylan16807
1519 days ago
|
|
It would work just fine. And if you call those messages equivalent then there is no cryptographic failing. You'll need better than that argument. Nobody complains that RSA gives you the same result for 45 and 0045 after all. Better, think of it like a hash algorithm that takes bits vs one that takes bytes. They both work fine and are secure. If your byte happens to be a really wide byte, that's not a fatal flaw. |
|
Defining failure as success is very, very stupid. Nobody needs to "do better" than calling your position out as wrong.
> Nobody complains that RSA gives you the same result for 45 and 0045 after all.
RSA doesn't give you "the same result for 45 and 0045" unless what you mean by "0045" is "Actually just 45 except for some reason I write that with extra zeroes as part of my bad faith argument".
Hash algorithms that don't work aren't "just fine" they're useless.
The reason algorithms like SHA-256 are defined for bits isn't arbitrary - bits are literally the unit of information, this is the obvious and natural way to define the function, so choosing to define a function over "really wide bytes" doesn't make any sense.