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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2.7

File details

Details for the file wpa2slow-0.4.tar.gz.

File metadata

  • Download URL: wpa2slow-0.4.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wpa2slow-0.4.tar.gz
Algorithm Hash digest
SHA256 6c2b8b543572cc2ffe794dede011471dda3cd9567037393182420c8c18c186ca
MD5 3ce6e5067e6e4996e0f5b3abbdc46231
BLAKE2b-256 7f1ec57b161bb0d1710deedb20754798362be4684bb8bfeac092f376fbfcb1d9

See more details on using hashes here.

File details

Details for the file wpa2slow-0.4-py27-none-any.whl.

File metadata

File hashes

Hashes for wpa2slow-0.4-py27-none-any.whl
Algorithm Hash digest
SHA256 5f095f5a0865627a1a7409f4186f36ff090768bb886da365ba40691c6231334f
MD5 a74e921c220018d384620390fdb158b5
BLAKE2b-256 4b06a3ef1fe0973ec2a2a1b046d570535c9791fd7e61a42fadd3bfce2ee07203

See more details on using hashes here.

Supported by

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