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

Function importKey

  • importKey(encryptedKey: string, password: string): Promise<PrivateKey>
  • Parameters

    • encryptedKey: string
    • password: string

    Returns Promise<PrivateKey>

    • Defined in keys/index.ts:113

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