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

0.0.1 • Public • Published

blob-to-sha256

Calculates a SHA-256 of a given blob

Install

Using yarn:

yarn add blob-to-sha256

or using npm:

npm install blob-to-sha256

Usage

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

Package Sidebar

Install

npm i blob-to-sha256

Weekly Downloads

21

Version

0.0.1

License

MIT

Unpacked Size

1.65 kB

Total Files

9

Last publish

Collaborators

  • dimitarnestorov