Skip to main content

A full Python implementation of the WPA2 encryption algorithm, using no encryption libraries.

Project description

wpa2slow

wpa2slow is a full Python implementation of the WPA2 encryption algorithm, using no encryption libraries.

Project goals

This project grew out of the FPGA implementation of WPA2 [here](https://github.com/JarrettR/FPGA-Cryptoparty), as a platform for regression testing and experimentation.

WPA2 requires three or four different algorithms to calculate a final password, depending on how you count them.

There is a fair amount of discussion on these functions in [this](http://jrainimo.com/build/?cat=6) category of my site.

The entire goal was to have intermediate steps of the algorithms to compare with the VHDL implementation. Perhaps this will be useful to someone else.

Benchmarks

Hash speed of my general purpose computer; 2,000 keys / second

Hash speed of a Raspberry Pi 1: 45 keys / second

Hash speed of this project: 0.25 keys / second

Sounds great! How can I get started?

You should be able to use pip install wpa2slow and it will magically work. Alternatively, clone this repo, and then from this directory, type pip install .

Check main.py for examples and test cases.

Can read and parse capture files in [hccap](https://hashcat.net/cap2hccap/) format, outputting the required inputs.

Further reading

Project details


Release history Release notifications | RSS feed

This version

0.4

Download files

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

Source Distribution

wpa2slow-0.4.tar.gz (29.1 kB view hashes)

Uploaded Source

Built Distribution

wpa2slow-0.4-py27-none-any.whl (24.4 kB view hashes)

Uploaded Python 2.7

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page