Preparing search index...
The search index is not available
libp2p - v0.42.2
libp2p - v0.42.2
pnet
generateKey
Function generateKey
generate
Key
(
bytes
:
Uint8Array
|
WriteStream
)
:
void
Generates a PSK that can be used in a libp2p-pnet private network
Returns
Parameters
bytes:
Uint8Array
|
WriteStream
An object to write the psk into
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
libp2p -
v0.42.2
index
<internal>
insecure
pnet
Protector
Init
generate
Key
pre
Shared
Key
Generates a PSK that can be used in a libp2p-pnet private network
Returns