Skip to main content

Padding methods for password based encryption implemented in Cython

Project description

cPadding

Inspired by Padding project by @pdio, this project re-implements the original in Cython.

Build

Local build for development requires Cython to compile C extensions.

~$ pip install Cython
~$ python setup.py build_ext --inplace

Installation

~$ pip install --user cPadding

Usage

Except for parameter names, all of Padding functions and global variables are followed very closely in cPadding.

try:
  import cPadding as Padding
except ImportError:
  import Padding

Twine

To package pip sources codes for portability, use setup.py's sdist:

~$ python setup.py sdist --formats=zip
~$ # twine upload --repository production dist/*

License

cPadding is licensed under MIT License.

Project details


Download files

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

Files for cPadding, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size cPadding-0.0.4.zip (9.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page