Function pubKeyToKeyPair

Creates a hex encoded ECC KeyPair given a public key.

  • Parameters

    • pubKey: Uint8Array

      A byte array representing a public key.

    Returns KeyPair

    A hex encoded ECC KeyPair.