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
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.1.1.tar.gz
(1.4 MB
view hashes)
Built Distribution
Close
Hashes for lakers_python-0.1.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72e84163f655ca1d5284bb6027c4e2176e28d3241b06ca4d0fea9f0c2ecfaee7 |
|
MD5 | 09f02b19cbfc4121afeea11f59cca91b |
|
BLAKE2b-256 | 17b41b5876a77accffdd311c25ce8c093e31b61efb7a499bcc7b97b8dd7531e0 |