4 ms·
> ...concatenate hashes... Bad idea, using 10 128-bit hash functions instead of a single 1280-bit hash function. Instead of a single post hash view of the hid
by woodman 11y ago
> ...concatenate hashes...
Bad idea, using 10 128-bit hash functions instead of a single 1280-bit hash function. Instead of a single post hash view of the hidden data - you've given an attacker 10 different perspectives. Instead of studying and securing one function - you now have to secure 10 functions and study their interaction in 10 dimensions... If 1 in 10 of your functions is broken, the damage isn't limited to a 10% reduction in keyspace.
> ...start encrypting with the best implemented ciphers...
If that is known up front then the whole exercise is pointless. You can't know that because you can't see into the future.
- devit 11y agoYes, that's true. Encrypting the data before hashing with a secret key solves this issue if applicable. > You can't know that because you can't see into the future. The "best cipher" is the single one you would have used if you had not decided to use a cipher cascade. The idea is to make sure that your cascade is never worse than that single cipher.