data-to-sha384
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

data-to-sha384

Calculates a SHA-384 of a given buffer/string

Install

Using yarn:

yarn add data-to-sha384

or using npm:

npm install data-to-sha384

Usage

const fs = require('fs')
const dataToSHA384 = require('data-to-sha384')
 
const buffer = fs.readFileSync('/path/to/file')
 
const hash = dataToSHA384(buffer)

Dependents (1)

Package Sidebar

Install

npm i data-to-sha384

Weekly Downloads

53

Version

0.0.1

License

MIT

Unpacked Size

1.7 kB

Total Files

6

Last publish

Collaborators

  • dimitarnestorov