• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • @waku/message-encryption
  • ecies
  • createEncoder

Function createEncoder

  • createEncoder(__namedParameters): Encoder
  • Creates an encoder that encrypts messages using ECIES for the given public, as defined in 26/WAKU2-PAYLOAD.

    An encoder is used to encode messages in the [`14/WAKU2-MESSAGE](https://rfc.vac.dev/spec/14/) format to be sent over the Waku network. The resulting encoder can then be pass to @waku/interfaces!ISender.send or @waku/interfaces!ISender.send to automatically encrypt and encode outgoing messages. The payload can optionally be signed with the given private key as defined in 26/WAKU2-PAYLOAD.

    Parameters

    • __namedParameters: ecies.EncoderOptions

    Returns Encoder

    • Defined in packages/message-encryption/src/ecies.ts:106

Settings

Member Visibility

Theme

Documentation
  • Loading...

Generated using TypeDoc