Skip to main content

Padding methods for password based encryption implemented in Cython

Project description


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


Local build for development requires Cython to compile C extensions.

~$ pip install Cython
~$ python build_ext --inplace


~$ pip install --user cPadding


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

  import cPadding as Padding
except ImportError:
  import Padding


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

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


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 (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