Comment

Comment by blauditore

Semi-related rambling:

Some hashing algorithms get broken, and we can never be sure whether a particular one is completely safe against attacks.

Now, to mitigate risks, one could use a composition of multiple hash functions, e.g. always apply SHA-1, then SHA-2 on data. Computation would be more expensive, but if one of the hashes gets cracked, data would still be safe as long as there at least one un-cracked hash function in the chain.

Do people actually do this?

parent blauditore 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton