• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • @libp2p/peer-id-factory
  • createRSAPeerId

Function createRSAPeerId

  • createRSAPeerId(opts?: {
        bits: number;
    }): Promise<RSAPeerId>
  • Parameters

    • Optional opts: {
          bits: number;
      }
      • bits: number

    Returns Promise<RSAPeerId>

    • Defined in libp2p-peer-id-factory/src/index.ts:30

Settings

Member Visibility

Theme

Modules

  • Documentation
    • @libp2p/peer-id - v2.0.4
      • <internal>
    • @libp2p/peer-id-factory - v2.0.4
  • createEd25519PeerId
  • createFromJSON
  • createFromPrivKey
  • createFromProtobuf
  • createFromPubKey
  • createRSAPeerId
  • createSecp256k1PeerId
  • exportToProtobuf