Skip to content

Why is Sha2 prioritized over Sha3 as base hash algorithm? #2615

Answered by steven-bellock
nitinklohar asked this question in Q&A
Discussion options

You must be logged in to vote

Is there any specific reason for this?

No. See #121. In particular, if a Responder supports more than one algorithm then it should be up to the Integrator to determine priority. However, anecdotally, most Responder devices only support one algorithm family (SHA2 XOR SHA3), and even then only one algorithm within that family, and so that decision typically doesn't have to be made.

as it is more secure

You mean it's more secure as it does not have to worry about length extension attacks? While SHA2 is susceptible to length extension attacks, algorithms that incorporate SHA2, such as HMAC, are able to mitigate that issue.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nitinklohar
Comment options

Answer selected by nitinklohar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants