---
title: "Discussion on \"Hash Extension Attack\" | Hashnode"
description: "Discussion on \"Hash Extension Attack\". Hash extension\nThis attack allows an attacker to append arbitrary data to the text being hashed (with sha1, sha2 and md5) as long as the users data is at the end and know a valid hash. This can allow to an attacker to create a valid hash with malicio..."
url: "https://hashnode.com/posts/hash-extension-attack/65eeea7abe84d64841aeed3e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Hash Extension Attack](https://blackcoat.co.uk/hash-extension-attack?utm_source=hashnode&utm_medium=feed)

Hash extension This attack allows an attacker to append arbitrary data to the text being hashed (with sha1, sha2 and md5) as long as the users data is at the end and know a valid hash. This can allow to an attacker to create a valid hash with malicio...

Dec 9, 2023 · 3 min read · blackcoat.co.uk  
Read the article

-   [#merkle-damgard-construction](https://hashnode.com/tag/merkle-damgard-construction)
-   [#hash-extension-attack](https://hashnode.com/tag/hash-extension-attack)
-   [#sha1](https://hashnode.com/tag/sha1)
-   [#cryptography](https://hashnode.com/tag/cryptography)

## Written by

[Luke Sanders](https://hashnode.com/@MrDust)

@MrDust

  
[View profile](https://hashnode.com/@MrDust)

Personal Blog

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
