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.2.0.tar.gz
(1.4 MB
view hashes)
Built Distribution
Close
Hashes for lakers_python-0.2.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc48e93f7cd7a41b098ef6c6b2abf070ed0ae7dcb3e8d87f716a01412e53d99b |
|
MD5 | 1a11eef1a5bc0fb378377c0f0114f265 |
|
BLAKE2b-256 | 233a3fd4ad04b766186483b8aefe08b88339acb3bc4bb23fb83b2c7875ded997 |