1.0.0 • Published 4 years ago

md6-hash v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

MD6 Hash Travis CI Build Status

Create an MD6 hash of a string.

NPM Badge

Install

npm install md6-hash

Usage

const md6 = require("md6-hash");

md6("a");
//=> '2b0a697a081c21269514640aab4d74ffafeb3c0212df68ce92922087c69b0a77'

API

md6Hash(input, options?)

input

Type: string

The string to hash.

options

Type: object

size

Type: number\ Default: 256

Byte size of the raw hash.

key

Type: string\ Default: ""

The hash seed.

levels

Type: number\ Default: 64

Hashing levels.