Update FAQ for HPKE

This commit is contained in:
Helder Eijs 2025-04-27 19:36:13 +02:00
parent 0785df83f6
commit 0a056c063e
3 changed files with 8 additions and 2 deletions

View file

@ -9,6 +9,12 @@ This may change when maintenance becomes too cumbersome.
However, new features will only be tested for Python 3. However, new features will only be tested for Python 3.
How can I encrypt using an ECC key?
++++++++++++++++++++++++++++++++++++
Use Hybrid Public Key Encryption (HPKE, RFC 9180)
and the module :ref:`Crypto.Protocol.HPKE<hpke>`.
Is CTR cipher mode compatible with Java? Is CTR cipher mode compatible with Java?
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++

View file

@ -1,3 +1,5 @@
.. _hpke:
Hybrid Public Key Encryption (HPKE) Hybrid Public Key Encryption (HPKE)
===================================== =====================================

View file

@ -446,8 +446,6 @@ def new(*, receiver_key: EccKey,
In the latter case, In the latter case,
correctness of all the keys and parameters will only correctness of all the keys and parameters will only
be assessed with the first call to ``unseal()``. be assessed with the first call to ``unseal()``.
.. _HPKE: https://datatracker.ietf.org/doc/rfc9180/
""" """
if aead_id not in AEAD: if aead_id not in AEAD: