HPKE implementation
Project description
hpke.py
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
Author
Joseph Birr-Pixton jpixton@gmail.com
License
hpke.py is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
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
hpke-0.3.2.tar.gz
(8.6 kB
view details)
Built Distribution
hpke-0.3.2-py3-none-any.whl
(9.3 kB
view details)
File details
Details for the file hpke-0.3.2.tar.gz
.
File metadata
- Download URL: hpke-0.3.2.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2bbda993c62649a5a75051dbceca3dd0b3059b61a7c21a868b9daa0ef5a3cdd |
|
MD5 | b0e316563196028b885c3cab185fe0b8 |
|
BLAKE2b-256 | 24730f1b7518caf0d8c4264d4ff0e2aa2a1bd692fff524d900f5f024a731f2b2 |
File details
Details for the file hpke-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: hpke-0.3.2-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4303e700691407b3c089ba8cede99bc81fe419fde57d08c5260c99d20951fe9 |
|
MD5 | 5729db280d17fb56325519a3cbcc3637 |
|
BLAKE2b-256 | 22834f5c5bd9b823f64b7dee8894bc6567af1742fa7b0ad2083261dd7035c51f |