3 ms·
>Therefore, why not get the Americans to develop their best hashing algorithm, the Chinese to develop their best algorithm, and then use A(C(data)). If you can
by nemothekid 6y ago
>Therefore, why not get the Americans to develop their best hashing algorithm, the Chinese to develop their best algorithm, and then use A(C(data)).
If you can find a collision in C(x), then A(C(x)) will have a collision as well.
- fiddlerwoaroof 6y agoWell, then make your hash: A(C(x))+C(A(x)) Just concatenate all the permutations of hashing functions. Although, maybe just concatenating the single-hash values is just as secure. A(x)+C(x)
- tatersolid 6y agoAt four times the computation, which is a pretty big problem when you’re trying to authenticate every packet on a >= 10 Gb/s network Using a better hash like Blake2 makes a lot more sense
- fiddlerwoaroof 6y agoIf the point of using two hashes is resistance against people breaking one of the hashing algorithms used, you’re always going to have to pick more than one algorithm to get that benefit. However, I don’t think nesting the calculations is actually necessary: Blake2(msg)+sha512(msg) would give you the same protection.