Function sha256

Returns the sha256 encoded hash of the given data.

  • Parameters

    • data: Uint8Array

      The data to encode.

    Returns Uint8Array

    The sha256 encoded hash of the given data.