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
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.3.0.tar.gz
(1.4 MB
view hashes)
Built Distribution
Close
Hashes for lakers_python-0.3.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c122674d4330cfdaac903e9c476241c8f3bf6473cacb3030aef08512516ea319 |
|
MD5 | cd52562b0e264307bb85e9780cba93c1 |
|
BLAKE2b-256 | cf715efd6c8a5f6971e6574d07c774bb0a6892d278f1e29e97300885c8384f73 |