Function sha256

  • Computes the SHA256 hash of the given data.

    Remarks

    The SHA256 hash algorithm produces a 32-byte hash, which is returned as a StaticArray<u8>.

    Returns

    The SHA256 hash of the data, serialized as a StaticArray<u8>.

    Parameters

    • data: StaticArray<number>

      The data to hash.

    Returns StaticArray<u8>

Generated using TypeDoc