Coder Social home page Coder Social logo

eid3t1c / hash_extender Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 1.0 32 KB

Automated tool implementing Hash Length Extension Attack in MD4,MD5,SHA1,SHA256,SHA512 along with an example

License: BSD 2-Clause "Simplified" License

Python 100.00%
length-extension length-extension-attack md4-hash md5-hash sha1-hash sha256-hash sha512-hash cryptography digest

hash_extender's People

Contributors

eid3t1c avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yjavali

hash_extender's Issues

SHA256 hash seems to be invalid

Hello, I am trying to use the tool for hash extension.
Let's say my secret key is "key", the known message is "message".

The SHA256 of "keymessage" is 8ebbc3081b0700d1c226cafda9032a6a11224ed7367c5d59425e548ac4e70c0e

Now I want to extend it with the word "extend"
SHA256 of "keymessageextend" is 34da7d5df4ee5f042ebf19846e3b43325fda82d8c0381818fdc93ac0fdaafddd

Then I run: python Length_Extender.py -f SHA256 -s 8ebbc3081b0700d1c226cafda9032a6a11224ed7367c5d59425e548ac4e70c0e -d message -e extend -k
3

The tool output is "New Signature 8fd6775dc06d90221591613ec9329de7430f13b62d93d53c6e9885a53e62bbbd"

Doesn't took like a match with "keymessageextend" hash. What I'm doing wrong here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.