Skip to content

Richienb/md6-hash

Repository files navigation

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.

About

Compute an MD6 hash from a string.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published