md6-hash
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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.

/md6-hash/

    Package Sidebar

    Install

    npm i md6-hash

    Weekly Downloads

    210

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    9.2 kB

    Total Files

    6

    Last publish

    Collaborators

    • richienb