Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

multihasher

1.1.0 • Public • Published

hasher

Simple hasher using multihash and async functions.

let hasher = require('hasher')('sha256')
let hash = await hasher(Buffer.from('test')) // return hash as B58 string.
console.log(hash) // 'QmeYzshSoNHr2QUWqmkMAy6raRhcmzTuroy7johWJNn3fY'

Keywords

none

install

npm i multihasher

Downloadsweekly downloads

10

version

1.1.0

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar