Skip to main content

Toolbox for exploring various obsolete ciphers and hash algorithms. Based on mcrypt and mhash.

Project description

obsolete-cryptography

Toolbox for exploring various obsolete ciphers and hash algorithms. Based on mcrypt and mhash.

WARNING: A lot of algorithms provided by this package are no longer considered secure. DO NOT use obsolete ciphers or hash algorithms when designing new secure systems. You might want cryptography for a secure, validated and easy to use crypto library that is suitable for new designs.

Building

Only tested on Linux.

This project uses the new PEP-517 source tree format.

To manually build the wheel, first make sure you have working C compiler, make and libtool (usually provided by the distro development package group like build-essential) and the PEP-517 builder build is installed, then run

python -mbuild --wheel

under the project directory. The wheel will be built under the dist/ directory after it's built successfully.

Notes on the design

Under the hood, this library is essentially a Cython binding to libmcrypt and mhash. Both libraries are included and are statically linked to the binding to simplify the building and installation process.

The libmcrypt included is based on libmcrypt 2.5.8 and has patches that enable out-of-tree building (required by meson) and enable the original SAFER algorithm that was previously disabled due to a bug. The mhash library is just a stock mhash 0.9.9.9 for now.

Project details


Download files

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

Source Distribution

obsolete_cryptography-0.2.1.tar.gz (2.1 MB view hashes)

Uploaded Source

Built Distributions

obsolete_cryptography-0.2.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (267.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

obsolete_cryptography-0.2.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (267.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

obsolete_cryptography-0.2.1-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (265.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

obsolete_cryptography-0.2.1-cp312-cp312-musllinux_1_1_x86_64.whl (269.3 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

obsolete_cryptography-0.2.1-cp312-cp312-musllinux_1_1_i686.whl (287.6 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ i686

obsolete_cryptography-0.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (269.4 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

obsolete_cryptography-0.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (287.2 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

obsolete_cryptography-0.2.1-cp311-cp311-musllinux_1_1_x86_64.whl (269.3 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

obsolete_cryptography-0.2.1-cp311-cp311-musllinux_1_1_i686.whl (288.5 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

obsolete_cryptography-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (269.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

obsolete_cryptography-0.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (287.9 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

obsolete_cryptography-0.2.1-cp310-cp310-musllinux_1_1_x86_64.whl (269.0 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

obsolete_cryptography-0.2.1-cp310-cp310-musllinux_1_1_i686.whl (288.1 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

obsolete_cryptography-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (269.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

obsolete_cryptography-0.2.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (287.7 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

obsolete_cryptography-0.2.1-cp39-cp39-musllinux_1_1_x86_64.whl (270.0 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

obsolete_cryptography-0.2.1-cp39-cp39-musllinux_1_1_i686.whl (289.3 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

obsolete_cryptography-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (270.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

obsolete_cryptography-0.2.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (288.9 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

obsolete_cryptography-0.2.1-cp38-cp38-musllinux_1_1_x86_64.whl (270.5 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

obsolete_cryptography-0.2.1-cp38-cp38-musllinux_1_1_i686.whl (289.9 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

obsolete_cryptography-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (267.7 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

obsolete_cryptography-0.2.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (285.7 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

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