@bicycle-codes/crypto-util
    Preparing search index...

    Function exportKey

    Get a public key from the given keypair.

    The keypair to extract the public key from

    The public key

    • Parameters

      • key: CryptoKey

      Returns Promise<Uint8Array<ArrayBufferLike>>

    • Parameters

      • key: CryptoKey
      • opts: { format: "string" }

      Returns Promise<string>