3 ms·
Maybe a dumb question: if sha2 and sha3 are so different, wouldn't it make sense to just use both and XOR the results?
by jeffdavis 10y ago
Maybe a dumb question: if sha2 and sha3 are so different, wouldn't it make sense to just use both and XOR the results?
- hannob 10y agoI wouldn't do any such thing without thorough analysis. It very well might have unexpected consequences. You can concatenate hash functions, so you get at least the best security from both. But the question is: Why would you want to do any such thing? Just choose one of them. Both are safe.
- kobeya 10y agoXOR? No. That very likely breaks it entirely. But you could chain the algorithms, which is what Bitcoin does for its standard payment addresses.