0.0.1 • Published 5 years ago

data-to-sha384 v0.0.1

Weekly downloads
76
License
MIT
Repository
github
Last release
5 years ago

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)