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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    60
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    60

Package Sidebar

Install

npm i blob-to-sha256

Weekly Downloads

60

Version

0.0.1

License

MIT

Unpacked Size

1.65 kB

Total Files

9

Last publish

Collaborators

  • dimitarnestorov