Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up
A Crypto-PAn implementation for python
Cannot retrieve the latest commit at this time.
| Type | Name | Latest commit message | Commit time |
|---|---|---|---|
| Failed to load latest commit information. | |||
|
|
.gitignore | ||
|
|
LICENSE | ||
|
|
README | ||
|
|
cryptopan.py | ||
|
|
setup.py | ||
README
PyCrypto-PAn ============ A IP address anonymizer in Python using the `Crypto-PAn`_ algorithm. Based on `IP::Anonymous`_ by John Kristoff .. _IP::Anonymous: http://search.cpan.org/dist/IP-Anonymous/lib/IP/Anonymous.pm .. _Crypto-PAn: http://www.cc.gatech.edu/computing/Telecomm/projects/cryptopan/ requirements: * pycrypto ``pip install pycrypto`` installation:: python setup.py install usage:: from cryptopan import CryptoPan c=CryptoPan("".join([chr(x) for x in range(0,32)])) print c.anonymize("192.0.2.0") Acknowledgements ---------------- This work was funded by the EU FP7 Project `CONFINE`_. Licensed under the LGPL - see the file LICENSE for details .. _CONFINE: http://www.confine-project.eu