Function sha256

  • Description

    Method to calculate SHA256 hash of the arbitrary data (bytes array or string)

    Returns

    32-bytes array with the SHA256 hash of the data

    Parameters

    • data: string | Uint8Array

      Data to calculate hash

    Returns Uint8Array

Generated using TypeDoc