Length Extension Attacks: How Hash-Based Signatures Can Be Forged

https://hackernoon.imgix.net/images/EjXhBrZoO9Mmv7gLZGhPgAuFslm2-kd822q8.jpeg

What if it were possible to alter a message without knowing the secret associated with it and it still appeared entirely legitimate?
It seems impossible; it’s believed that a secret will prevent you from producing something valid if you don’t know it.
However, the way in which something is constructed can allow that to happen.
That’s whereLength Extension Attacks come into play.

This will be my first advanced-level article, so I hope you enjoy it! :)

Introduction

When an application wants to make sure that some data hasn’t been modified, it can create a hash of that data.

For example, imagine an application receives:

username=admin

It can calculate a hash for this value and use it to detect whether the data has been changed.

Hashing is a one-way process that takes some data and produces a fixed-size value. One of its important properties is that even a small change...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more

https://images.macrumors.com/t/XEyVh7VFnBpfoKyJ-wxGJUrYFFU=/2500x/article-new/2026/11/claude-warning-2-2.jpg

macOS 27.3 beta warns if an app would get full device control, nudging users to “Choose Apps” for the app to control instead, brought on by AI apps' popularity

Featured Podcasts Big Technology Podcast: How Humans Will Work Alongside AI Agents — With Mike Cannon-Brookes The Big Technology Podcast takes you behind the scenes in the tech world featuring interviews with plugged-in insiders and outside agitators. Subscribe to Big Technology Podcast. Why Enterprise Sales Still Matters in the AI Era