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.1.tar.gz
(1.4 MB
view hashes)
Built Distributions
Close
Hashes for lakers_python-0.2.1-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d77962f31b7d71e9afe7093f347d62e074d382c369043a4dab49fa1e511efa6 |
|
MD5 | 39222af087bf721e8d167bd2cb2fc89c |
|
BLAKE2b-256 | 8fa84a9a68f58ed96551c07392b21b7819309126a276a1294ac1e3bf4758ba2f |
Close
Hashes for lakers_python-0.2.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca6c7261a4e8fc8f47fc1e9f085f3614e28cf0358e673ef9f5545a3d769969a4 |
|
MD5 | 4c11e6f5d33afefb187fcf164f5fef91 |
|
BLAKE2b-256 | 78c93e9ed8a8df0594547d1cedc556400db9b01647115a61b4516c9a15a6cc2f |
Close
Hashes for lakers_python-0.2.1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eddcc9a678623ceeb15847b554d12c93190d882a7ea3f71f7933fc9c88ffdcd0 |
|
MD5 | f2e160a27c63c94f4020c8e9dfba7f1a |
|
BLAKE2b-256 | f78e248696d8cec67389e5dfc0d53c44780fc9fa4d00e93fb8d057803101e34e |
Close
Hashes for lakers_python-0.2.1-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b68bab81445269187124032e8bc8bc2a7b808f996b845a5b0c50ff5317dfff37 |
|
MD5 | 218653b55c2f5b3bd0c6ca7d31f222f8 |
|
BLAKE2b-256 | f7ad8c35ae9f0b2a8f5202beab6a4a04489ac9cfe8b339245085e84685c4ddd0 |
Close
Hashes for lakers_python-0.2.1-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f106000a44328b836ac3a8e79c4763cf84b3d96f4e45c290b63b3ab998857d51 |
|
MD5 | 506c35b4a9623df867ad89ccdb9c5fb1 |
|
BLAKE2b-256 | cbe4b28e09cc583375a1c636191898f2a476703f84cfae59b4ffd9e287ab0cfb |
Close
Hashes for lakers_python-0.2.1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6914d2ba4b8f809f15dc7fe069be4be18ad2a4e8406693fa86de5e51124ff1b |
|
MD5 | 1b502cf5fb5bf0cc6103b84b7f7b2edf |
|
BLAKE2b-256 | 5aaa8d49e65fe1d41c914a5d83d7e4c6df9c5b8d02dd7f002175a4fbb9c29322 |
Close
Hashes for lakers_python-0.2.1-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b52e776e02498a4aeb97e60d24beb8b28f4e88e83399119286055a58a57a666 |
|
MD5 | 249c5100bbc555468a206068b9149af4 |
|
BLAKE2b-256 | 43ad22d308036b618bdbd884246c34a07c69054d91ecc876d76f2cd3db34d14b |
Close
Hashes for lakers_python-0.2.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e694266052ab992a547844988c6022709a72745e110c8e755639fa3553bd6afc |
|
MD5 | 9785e104c431bad30e8f58c50717a42c |
|
BLAKE2b-256 | 2e65d2bc2f889f819c59ec3324653e88de2230acff6f7b5d8c04270758e9550b |
Close
Hashes for lakers_python-0.2.1-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e1325c76c2a799448618d1434cd4349c95b2c8e64ebe31b95f9dc06b3ac0904 |
|
MD5 | 72bdb0eb5a0231419f0a55b59f12767a |
|
BLAKE2b-256 | 08e0a21e69c52af80f05767a26765c2f2ee3464ecbab5061e1ef2810e0fee3e1 |