Skip to content

Commit 0a056c0

Browse files
committed
Update FAQ for HPKE
1 parent 0785df8 commit 0a056c0

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Doc/src/faq.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ This may change when maintenance becomes too cumbersome.
99

1010
However, new features will only be tested for Python 3.
1111

12+
How can I encrypt using an ECC key?
13+
++++++++++++++++++++++++++++++++++++
14+
15+
Use Hybrid Public Key Encryption (HPKE, RFC 9180)
16+
and the module :ref:`Crypto.Protocol.HPKE<hpke>`.
17+
1218
Is CTR cipher mode compatible with Java?
1319
++++++++++++++++++++++++++++++++++++++++++++++++++
1420

Doc/src/protocol/hpke.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _hpke:
2+
13
Hybrid Public Key Encryption (HPKE)
24
=====================================
35

lib/Crypto/Protocol/HPKE.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,6 @@ def new(*, receiver_key: EccKey,
446446
In the latter case,
447447
correctness of all the keys and parameters will only
448448
be assessed with the first call to ``unseal()``.
449-
450-
.. _HPKE: https://datatracker.ietf.org/doc/rfc9180/
451449
"""
452450

453451
if aead_id not in AEAD:

0 commit comments

Comments
 (0)