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.7.0.tar.gz
.
File metadata
- Download URL: PyTomCrypt-0.7.0.tar.gz
- Upload date:
- Size: 865.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79f5e3405096ba883087fe726cbda3af32c2cae1d8672cad0b1c809a2d5a8085 |
|
MD5 | 8bba51819bd2f9ecfe51a02941fff017 |
|
BLAKE2b-256 | 67b3331195c56437aad80b3ecbe185993941818b117c3356014d33c953b4e122 |