mirror of
https://github.com/Legrandin/pycryptodome.git
synced 2025-10-19 16:03:45 +00:00
Update FAQ for HPKE
This commit is contained in:
parent
0785df83f6
commit
0a056c063e
3 changed files with 8 additions and 2 deletions
|
@ -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?
|
||||||
++++++++++++++++++++++++++++++++++++++++++++++++++
|
++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
.. _hpke:
|
||||||
|
|
||||||
Hybrid Public Key Encryption (HPKE)
|
Hybrid Public Key Encryption (HPKE)
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue