HPKE implementation
Project description
Forked from ctz/hpke-py.
This package is only for an experimental COSE-HPKE implementation on dajiaji/python-cwt. DO NOT INSTALL IT.
pyhpke
This is an implementation of RFC9180 in python3, using cryptography.io for the underlying cryptography.
Features
- Modes
- mode_base
- mode_psk
- mode_auth
- mode_auth_psk
- AEADs
- AES-128-GCM
- AES-256-GCM
- ChaCha20Poly1305
- Export only
- KEMs
- DHKEM(P-256, HKDF-SHA256)
- DHKEM(P-384, HKDF-SHA384)
- DHKEM(P-521, HKDF-SHA512)
- DHKEM(X25519, HKDF-SHA256)
- DHKEM(X448, HKDF-SHA512)
- KDFs
- HKDF-SHA256
- HKDF-SHA384
- HKDF-SHA512
Original Author
Joseph Birr-Pixton jpixton@gmail.com
License
pyhpke is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
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
pyhpke-0.1.0.tar.gz
(9.1 kB
view details)
Built Distribution
File details
Details for the file pyhpke-0.1.0.tar.gz
.
File metadata
- Download URL: pyhpke-0.1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.10 Linux/5.10.60.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 010b3db4695a32dea15c40b5aebdd7487291d32a8806590abe2e61c274ff867b |
|
MD5 | 1d265253eba13e7eae4ed2cd175966ee |
|
BLAKE2b-256 | 89cbc7cfd031251a2bdcb9d4fc9896798699cc8bb2bea556d44c04ba08285ef9 |
File details
Details for the file pyhpke-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pyhpke-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.10 Linux/5.10.60.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f49500e15a2b6d27ad39ba613c6d5c5e20cc56ec1667b94eb8d33da10cdc3509 |
|
MD5 | 3ca3908c9bfa86a82581fa318dda8d42 |
|
BLAKE2b-256 | b1d7fe19cb651b982522665a8f351d2b513d069f5857094f5f0abb457d6ab91b |