iya-sts
    Preparing search index...

    Variable sha256OfFile

    sha256OfFile: (file: any, limit: any) => Promise<any> = sha256OfFile

    Type Declaration

      • (file: any, limit: any): Promise<any>
      • Returns the SHA-256 of a file, streamed, lower-case hex.

        Parameters

        • file: any

          the file's path

        • limit: any

          the largest size accepted, when above 0

        Returns Promise<any>

        a promise of the digest; rejects with a sentence