Miss any of our Open RFC calls?Watch the recordings here! »

blob-to-sha1

0.0.1 • Public • Published

blob-to-sha1

Calculates a SHA-1 of a given blob

Install

Using yarn:

yarn add blob-to-sha1

or using npm:

npm install blob-to-sha1

Usage

import blobToSHA1 from 'blob-to-sha1'
 
const hash = await blobToSHA1(fileInput.files[0])

Install

npm i blob-to-sha1

DownloadsWeekly Downloads

13

Version

0.0.1

License

MIT

Unpacked Size

1.63 kB

Total Files

9

Last publish

Collaborators

  • avatar