Skip to main content

Module implements hash length extension attack against MD5 algorithm

Project description



$ pip install HashExtender


>>> import hashext
>>> print hashext.md5(data = '123', sign = '109889f941630d269546335f728f3558', length = 5, append = 'test')
\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00test', 'e5f78513e536615a6f5164ccff96d4d9')
  • data - your original signed message
  • sign - message signature, MD5(secret + msg)
  • length - probable length of secret string
  • append - data to append to new string



Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
HashExtender-1.0.0.tar.gz (1.6 kB) Copy SHA256 hash SHA256 Source None Mar 18, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page