No project description provided
Project description
Lakers Python
Python wrapper for the lakers crate.
Installation and usage
pip install lakers-python
import lakers
# generate a keypair
lakers.p256_generate_key_pair()
# instantiate a initiator and prepare EDHOC's message 1
initiator = lakers.EdhocInitiator()
message_1 = initiator.prepare_message_1(c_i=None, ead_1=None)
# for more examples, see the tests in the repository
Development
To build and test:
maturin develop
pytest
Requirements
The maturin executable must be available. The recommended way is to install and use it in a virtual environment:
python3 -m venv .venv
source .venv/bin/activate
pip install -U pip maturin pytest
pip freeze
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
lakers_python-0.2.0.tar.gz
(1.4 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lakers_python-0.2.0.tar.gz.
File metadata
- Download URL: lakers_python-0.2.0.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
960afa43e44a7b1408fc82743137d48d056e9503140e59ac2ff21a1357fb6dfc
|
|
| MD5 |
e0ca3e3d9bcf2480832b98810d9c3a4d
|
|
| BLAKE2b-256 |
92720e7ae56676481b8750666fad0e6e5601e0d79e8b6d8735a83112f29c3ca0
|
File details
Details for the file lakers_python-0.2.0-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: lakers_python-0.2.0-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 307.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc48e93f7cd7a41b098ef6c6b2abf070ed0ae7dcb3e8d87f716a01412e53d99b
|
|
| MD5 |
1a11eef1a5bc0fb378377c0f0114f265
|
|
| BLAKE2b-256 |
233a3fd4ad04b766186483b8aefe08b88339acb3bc4bb23fb83b2c7875ded997
|