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

md5js

1.0.7 • Public • Published

MD5

a JavaScript function for hashing messages with MD5.

Installation

You can use this package on the server side as well as the client side.

Node.js:

npm install md5js

API

md5(message)

Usage

import { md5 } from 'md5js';
 
console.log(md5('message'));//16位
console.log(md5('message',32));//32位

This will print the following

7d8fd50ed642340b
78e731027d8fd50ed642340b7c9a63b3

install

npm i md5js

Downloadsweekly downloads

10

version

1.0.7

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability