blob-to-sha1
TypeScript icon, indicating that this package has built-in type declarations

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])

Package Sidebar

Install

npm i blob-to-sha1

Weekly Downloads

69

Version

0.0.1

License

MIT

Unpacked Size

1.63 kB

Total Files

9

Last publish

Collaborators

  • dimitarnestorov