Python module that encapsulates wolfSSL's crypto engine API.
Project description
wolfCrypt Python, a.k.a. wolfcrypt is a Python module that encapsulates wolfSSL’s wolfCrypt API.
wolfCrypt is a lightweight, portable, C-language-based crypto library targeted at IoT, embedded, and RTOS environments primarily because of its size, speed, and feature set. It works seamlessly in desktop, enterprise, and cloud environments as well. It is the crypto engine behind wolfSSl’s embedded ssl library.
Installation
We provide Python wheels (prebuilt binaries) for OSX 64 bits and Linux 64 bits:
$ pip install wolfcrypt
To build wolfcrypt-py against a local installation of the native C wolfSSL library, use the USE_LOCAL_WOLFSSL variable. This variable should be
wolfcrypt-py can be built against a local verison of the native wolfSSL library by using pip with the USE_LOCAL_WOLFSSL variable. USE_LOCAL_WOLFSSL should be set equal to the installation path for the wolfSSL library:
$ USE_LOCAL_WOLFSSL=/path/to/wolfssl/install pip install .
If building wolfcrypt-py against a local wolfSSL library, wolfcrypt-py will attempt to do native feature detection to enable/disable wolfcrypt-py features based on how native wolfSSL has been compiled. It uses the <wolfssl/options.h> header to do feature detection.
Testing
>>> from wolfcrypt.hashes import Sha256
>>> Sha256('wolfcrypt').hexdigest()
b'96e02e7b1cbcd6f104fe1fdb4652027a5505b68652b70095c6318f9dce0d1844'
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
Built Distributions
Hashes for wolfcrypt-4.1.0.post0-py3.7-linux-x86_64.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca8a08a4d7729fc81540249d77a1774290c226ee4722df358864445cd30a2e70 |
|
MD5 | f78da04675f148ca23ace3d1a2bac8ba |
|
BLAKE2b-256 | 0d08e02680605944210c814a7d5472fb861da7de9b58af3bf37235e2120605e7 |
Hashes for wolfcrypt-4.1.0.post0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d957cbe021ad291e607a2141158441e806b498dc7a573e850b167bb59c456eaa |
|
MD5 | 25562815647e43992db4a0a8a7270898 |
|
BLAKE2b-256 | c9f065abcfe8d4ff32fc5e91a829da280c04a54b3aa81d44c5f029a2ee4af148 |
Hashes for wolfcrypt-4.1.0.post0-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6367ff376371208110da7b452c13980bf2331012d8d1d4f1120e8fd77b6882d0 |
|
MD5 | 43693678fe5fb420dc9a209492ce95fe |
|
BLAKE2b-256 | 83b8a98d22355aa76ef4fa71cb5e7d38d2116ee83395bb5af9ed6e48240ed105 |
Hashes for wolfcrypt-4.1.0.post0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f82fe6804c3441203f8cd849d0377c18c89b8caf4b563fd9a30add689dd9459c |
|
MD5 | fed97ceccdb3860b4fae8f28f5275fe3 |
|
BLAKE2b-256 | c6dd2f285cce2720ce59eb70f59d42d21d25cda846bfece94fb9098a888d64a4 |
Hashes for wolfcrypt-4.1.0.post0-cp36-cp36m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9225d92b87e848edc8720b33b7a12de4d623f463cd7e7848d71957f3b33d5ab8 |
|
MD5 | d1a4ef11033bffef6584731ccc21a1e9 |
|
BLAKE2b-256 | 6cad68c483bb16e700b3990fa295e9931f8d204c8694fb10b9af74285af43217 |
Hashes for wolfcrypt-4.1.0.post0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3558c6c89ff4c2125ae773d2b2aba9f05e394b56df4fc69fb73d61924a2e69ef |
|
MD5 | ff54e653edc3a9da25dccce97e45ebe1 |
|
BLAKE2b-256 | 5366c3b7fc02452d11841a51706d0a465a2bb9fea506c9957d085e0369ea8a43 |
Hashes for wolfcrypt-4.1.0.post0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f1251eb106c91cf2a2c8d2601a83f855491ac2946b5167f7050965cff7615fd |
|
MD5 | 9e472afd3d745609914d679b39c71047 |
|
BLAKE2b-256 | 1a2f9448b3dfd7ad6a6d988a6e3269d17a4e2ec7e2592ca3216fd6e4fd5caa5a |
Hashes for wolfcrypt-4.1.0.post0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bc4961df51c9cf85cb85543f625ba649a9579b3617ff83821ae33ba0ebe842c |
|
MD5 | 5b2aaf1653a87329d17eb77372daadc4 |
|
BLAKE2b-256 | 2d5ccb082c0e18670dc917aa58bc69bc8c12d9766775c526aa9547fca29f2d9e |
Hashes for wolfcrypt-4.1.0.post0-cp27-cp27m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 561708244c813e1f5f142dcb1a6764f73fc2939d14e377ec73345bbec9c0744c |
|
MD5 | 3a0d35a7c74898e4ee641bf9807d3cc2 |
|
BLAKE2b-256 | 052581c97202c50412476ebd963fa2a15e75ee2a322b9cdfb19e1615327e3e41 |
Hashes for wolfcrypt-4.1.0.post0-cp27-cp27m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8782080e0bb67e408394050a6be62b51b20d7830c279944c58f1bfa776c8dbce |
|
MD5 | 0ea41d7235c061c4d2704f4bc707bd14 |
|
BLAKE2b-256 | 6c72e22ac98b81d64c4ef15bfc9343ea4cea8239a87f599f19ae23935653198c |