|
|
|
|
|
by Dylan16807
1520 days ago
|
|
If you had no size based padding, you could fake a document having a few more zero bytes at the end. That's almost never dangerous, and it also requires very specific (mis)use to cause problems, just like a length extension. Unless you can name a killer use case, I stand by length extension problems being a significantly bigger deal and more "necessary" to stop. > You're supposed to be able to remove the padding in cryptography It's a hash. You can never access the post-padding version of the input in the first place. |
|
"it works as a cryptographic hash" is certainly a "killer use case" for a cryptographic hash.
Your "Dylan16807 hash" without working padding does not work as a cryptographic hash, it's useless.