Python+Cython wrapper around LibTomCrypt
Project description
This package is a Python 2/3 wrapper around LibTomCrypt. The API is designed to be conceptually similar to LibTomCrypt, but to be as “Pythonic” as possible.
[Read the Docs](http://mikeboers.github.io/PyTomCrypt/), and good luck!
Limitations
PyTomCrypt does not yet wrap the entirety of LibTomCrypt; this is planned in the future. Currently, this package provides:
- symmetric ciphers
no CTR mode flags (page 38 of ltc PDF)
incomplete auth modes (EAX, but no OCB, CCM, GCM, etc.)
hashes
MACs
pseudo random number generators
pkcs5
- RSA private/public keys
no separate padding functions
incomplete ECC
no DSA
Installation
To get the latest stable release (use easy_install if you don’t have pip):
$ pip install PyTomCrypt
If you already have the PyPi source distribution, you only need run:
$ python setup.py install
If you have the original source (ie. from GitHub):
# Install “mako” and “cython”; they are required to generate the C source of the primary module. $ pip install mako cython
# Grab libtomcrypt and libtommath. $ git submodule init $ git submodule update
# Preprocess the Cython sources. $ make sources
# Build the package. $ python setup.py build
# Install the module. $ python setup.py install
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file PyTomCrypt-0.8.0.tar.gz
.
File metadata
- Download URL: PyTomCrypt-0.8.0.tar.gz
- Upload date:
- Size: 888.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9a093bf040b3a23afc07b95d0dc5d84a5e37b1aa792da980f6248fb5e8b181b |
|
MD5 | 9fd2d80448873957dd7d76c0a51a9e07 |
|
BLAKE2b-256 | bc477f167a925d2629e90e7d89be58513ad5c44b35927731d0548fdf06e287aa |