Function sha256Binary

  • Hashes binary data into byte array

    Parameters

    • data: string | Uint8Array

      A hex data string or byte array

    Returns Uint8Array

    the hash for that as byte array