• Preparing search index...
  • The search index is not available
@libp2p/crypto - v1.0.17
  • @libp2p/crypto - v1.0.17
  • keys
  • marshalPublicKey

Function marshalPublicKey

  • marshalPublicKey(key: {
        bytes: Uint8Array;
    }, type?: string): Uint8Array
  • Parameters

    • key: {
          bytes: Uint8Array;
      }
      • bytes: Uint8Array
    • Optional type: string

    Returns Uint8Array

    • Defined in keys/index.ts:77

Settings

Member Visibility

Theme

Modules

  • @libp2p/crypto - v1.0.17
    • aes
    • hmac
    • index
    • keys
      • <internal>
        • "/home/runner/work/js-libp2p-crypto/js-libp2p-crypto/src/keys/ed25519-class"
        • "/home/runner/work/js-libp2p-crypto/js-libp2p-crypto/src/keys/rsa-class"
        • "/home/runner/work/js-libp2p-crypto/js-libp2p-crypto/src/keys/secp256k1-class"
      • keysPBM
        • KeyType
        • PrivateKey
        • PublicKey
  • KeyTypes
  • supportedKeys
  • generateEphemeralKeyPair
  • generateKeyPair
  • generateKeyPairFromSeed
  • importKey
  • keyStretcher
  • marshalPrivateKey
  • marshalPublicKey
  • unmarshalPrivateKey
  • unmarshalPublicKey