Preparing search index...
The search index is not available
@waku/root
@waku/root
@waku/message-encryption
symmetric
Encoder
Class Encoder
Hierarchy
Encoder
Implements
IEncoder
Index
Constructors
constructor
Properties
content
Topic
ephemeral
sig
Priv
Key?
sym
Key
Methods
to
Proto
Obj
to
Wire
Constructors
constructor
new
Encoder
(
contentTopic
:
string
, symKey
:
Uint8Array
, sigPrivKey
?:
Uint8Array
, ephemeral
?:
boolean
)
:
symmetric
.
Encoder
Parameters
contentTopic:
string
symKey:
Uint8Array
Optional
sigPrivKey:
Uint8Array
ephemeral:
boolean
= false
Returns
symmetric
.
Encoder
Properties
content
Topic
content
Topic
:
string
ephemeral
ephemeral
:
boolean
= false
Private
Optional
sig
Priv
Key
sig
Priv
Key
?:
Uint8Array
Private
sym
Key
sym
Key
:
Uint8Array
Methods
to
Proto
Obj
to
Proto
Obj
(
message
:
IMessage
)
:
Promise
<
undefined
|
IProtoMessage
>
Parameters
message:
IMessage
Returns
Promise
<
undefined
|
IProtoMessage
>
to
Wire
to
Wire
(
message
:
IMessage
)
:
Promise
<
undefined
|
Uint8Array
>
Parameters
message:
IMessage
Returns
Promise
<
undefined
|
Uint8Array
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@waku/root
@waku/byte-
utils
@waku/core
waku
waku_
filter
waku_
light_
push
Push
Response
waku_
relay
waku_
store
@waku/create
@waku/dns-
discovery
@waku/enr
@waku/interfaces
@waku/message-
encryption
ecies
symmetric
Encoder
constructor
content
Topic
ephemeral
sig
Priv
Key?
sym
Key
to
Proto
Obj
to
Wire
Generated using
TypeDoc