Skip to content

Commit

Permalink
Reference standardized Secp256k1 DHKEM for HPKE
Browse files Browse the repository at this point in the history
  • Loading branch information
DanGould committed Mar 6, 2024
1 parent 32741bf commit 4334ad5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bip-0077.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ Hybrid Public Key Encryption is a modern web standard for secure message exchang

The cryptographic handshake is conducted in parallel to the payjoin messaging inspired by the [[http://www.noiseprotocol.org/noise.html#zero-rtt-and-noise-protocols|zero-RTT]] version of the [[http://www.noiseprotocol.org/noise.html|Noise Framework]] [[https://noiseexplorer.com/patterns/NKpsk0/|IK]] pattern. A receiver shares its public key out of band in the BIP21 URI. Static keys shared in URIs must only for a single session. The key is encoded in [[https://datatracker.ietf.org/doc/html/rfc4648#section-5|base64URL]] encoding as a subdirectory of the directory server in the <code>pj=</code> parameter.

====Secp256k1====
====Secp256k1-based DHKEM====

Secp256k1 should be used in place of HPKE's specified DH functions because of it's availability in bitcoin contexts. A proposal to standardize its inclusion may be appropriate.
[[https://www.ietf.org/archive/id/draft-wahby-cfrg-hpke-kem-secp256k1-01.html|Secp256k1-based DHKEM for HPKE]] is most appropriate because of secp256k1's availability in bitcoin contexts.

====ChaCha20Poly1305 AEAD====

Expand Down

0 comments on commit 4334ad5

Please sign in to comment.