Packages

@paramira/did-e2e

Pairwise end-to-end encryption between two did:iwacu: identities — Ed25519-to-X25519 conversion, ECDH, HKDF, XChaCha20-Poly1305. A relay carrying the result sees only an opaque blob.

License: MIT. Generic: pairwise E2E encryption glue.

Source: packages/did-e2e · public repo: phuman/did-e2e

What it does

Pairwise end-to-end encryption between two did:iwacu: identities — no DIDComm, no Credo, no wallet. Ed25519-to-X25519 key conversion, ECDH, HKDF-SHA256, XChaCha20-Poly1305. A relay carrying the result sees only an opaque tagged blob; it can route the message without ever reading it.

myIdentity needs just { did, privateKeyBytes } (the raw 32-byte Ed25519 seed) — the exact shape @paramira/identity's generateKeypair() already returns, so a real identity object passes straight through with no adapting.

Used by

Apps: isoko

Packages: community-identity, family, inzira, one-time-mailbox, relay-envelope, testimony

Uses

  • identity
  • @noble/ciphers
  • @noble/curves
  • @noble/hashes