Function getAddressHashFromPubKey

Gets the corresponding sha256 hashed address to a given compressed public key.

  • Parameters

    • compressedPublicKey: Uint8Array

      A byte array representing a compressed public key.

    Returns Uint8Array

    A sha256 hashed address that corresponds to the given public key.