10 points · by RobinUS2 · 13y ago · 15 comments
Are there any (legit) reasons for doing this? I couldn't come up with one as they should hash them, and it doesn't matter for the hash function whether the input is 1 or 1000 characters long. Performance loss is minimal.
It really feels like they are using encryption, instead of hashing. Which would be a major security issue.
I don't see how where the line is drawn (and realistically it has to be drawn somewhere for a public service) necessarily implies anything about whether proper hashing is being done.
I don't know if that's even valid though, it doesn't sound plausible to me.
"It's what the client wants" is a rather legit reason, whether the rules come from a legal standard for their industry or completely out of their rear end.
Just do not do it - it will always end in tears.
but as others have said, the reason is likely to be blind following of poorly thought-out specs.