Calculates a SHA-1 of a given blob
npm install blob-to-sha1> Calculates a SHA-1 of a given blob
Using yarn:
``sh`
yarn add blob-to-sha1
or using npm:
`sh`
npm install blob-to-sha1
javascript
import blobToSHA1 from 'blob-to-sha1'const hash = await blobToSHA1(fileInput.files[0])
``