Preparing search index...
The search index is not available
Documentation
Documentation
@libp2p/peer-id-factory
createRSAPeerId
Function createRSAPeerId
createRSAPeer
Id
(
opts
?:
{
bits
:
number
;
}
)
:
Promise
<
RSAPeerId
>
Parameters
Optional
opts:
{
bits
:
number
;
}
bits
:
number
Returns
Promise
<
RSAPeerId
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Documentation
@libp2p/peer-
id -
v2.0.4
<internal>
@libp2p/peer-
id-
factory -
v2.0.4
create
Ed25519
Peer
Id
create
FromJSON
create
From
Priv
Key
create
From
Protobuf
create
From
Pub
Key
createRSAPeer
Id
create
Secp256k1
Peer
Id
export
To
Protobuf