https://github.com/richienb/md6-hash
Compute an MD6 hash from a string.
https://github.com/richienb/md6-hash
Last synced: 9 months ago
JSON representation
Compute an MD6 hash from a string.
- Host: GitHub
- URL: https://github.com/richienb/md6-hash
- Owner: Richienb
- License: mit
- Created: 2020-01-06T07:47:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-14T05:19:25.000Z (over 4 years ago)
- Last Synced: 2025-04-19T02:24:16.348Z (9 months ago)
- Language: JavaScript
- Size: 984 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# MD6 Hash [](https://travis-ci.com/Richienb/md6-hash)
Create an MD6 hash of a string.
[](https://npmjs.com/package/md6-hash)
## Install
```sh
npm install md6-hash
```
## Usage
```js
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.