{"categories":[{"label":"Cryptography","url":"https://skillfed.io/packages/category/security-cryptography/2"}],"enrichment":{"capability":"PyHPKE implements HPKE (Hybrid Public Key Encryption) as defined in RFC 9180, providing authenticated encryption with public-key cryptography for sender-recipient message exchange.","skillfed_tags":["cryptography","public-key-encryption","rfc-9180"],"use_cases":["Encrypt messages for a known recipient when you have their public key and need authenticated encryption.","Implement end-to-end encryption in protocols or applications requiring RFC 9180 compliance.","Derive cryptographic keys from seed material using standardized key encapsulation and derivation functions.","Test HPKE cipher suite combinations and modes without external dependencies beyond cryptography.","Build multi-recipient encryption systems using HPKE's authenticated modes with pre-shared keys."],"what_it_does":"PyHPKE is a Python library implementing the HPKE standard from RFC 9180, enabling secure message encryption between a sender and recipient using hybrid public-key cryptography. It supports all four HPKE modes (Base, PSK, Auth, AuthPSK) and provides multiple cipher suite combinations across key encapsulation mechanisms (DHKEM variants for P-256, P-384, P-521, X25519, X448), key derivation functions (HKDF-SHA256/384/512), and authenticated encryption algorithms (AES-GCM, ChaCha20Poly1305, Export Only).\n\nThe library wraps cryptographic operations from the cryptography package and exposes a straightforward API: create a cipher suite, load or derive keys from JWK or PEM formats, establish sender and recipient contexts, and seal or open messages. It has been tested against RFC 9180 official test vectors but has not undergone formal security audit, making it suitable for non-critical applications or as a reference implementation rather than as a drop-in replacement for audited production cryptography libraries.","worth_installing":"Yes, if you need RFC 9180 HPKE for non-critical applications or prototyping. The library is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. However, note that it has not been formally audited\u2014do not use it for high-security applications without independent security review."},"id":"pyhpke","links":{"html":"https://skillfed.io/packages/pyhpke","md":"https://skillfed.io/packages/pyhpke.md","pypi":"https://pypi.org/project/pyhpke/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-16","license_spdx":"MIT","license_treatment":"permissive","name":"pyhpke","python_support":"supports_current","summary":"A Python implementation of HPKE."},"popularity":{"monthly_downloads":309516,"position":7754,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.5"}
