0

Would a HAIFA-construction based hash function like Argon2 resistant to length-extension attacks?

I say that Argon2 is HAIFA-based because BLAKE is, and Argon2 is based on BLAKE.

kelalaka
  • 48,443
  • 11
  • 116
  • 196

1 Answers1

2

Yes.

The HAIFA construct as introduced in A Framework for Iterative Hash Functions - HAIFA by Eli Biham and Orr Dunkelman is proposed with the explicit goal of eliminating various pitfalls of the classic Merkle-Damgaard construct.

DannyNiu
  • 9,207
  • 2
  • 24
  • 57