Creates a new IncrementalSha1 and lazily initializes the crypto backend.
Total number of bytes fed into the hash so far.
The cumulative byte count across all update calls.
Finalize the hash and return the hex-encoded SHA-1 digest.
The lowercase hex-encoded SHA-1 digest of all data fed so far.
Feed data into the hash. Async because it lazily initializes the crypto backend.
The bytes to include in the hash computation.
A promise that resolves once the data has been consumed.
Incrementally computes SHA-1 hashes over streaming data. Uses Node.js
cryptowhen available, falling back to WebCrypto.