0.0.0-alpha.1 • Published 7 years ago

zce-md5 v0.0.0-alpha.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

md5

Build Status Coverage Status NPM Downloads NPM Version License Dependency Status devDependency Status Code Style

zce demo node module structure

MD5 encryption of the input string

Installation

$ yarn add zce-md5

# or npm
$ npm install zce-md5

Usage

const md5 = require('zce-md5')
const result = md5('zce')
console.log(result)
// => 'f1963aa09931b5dade50485239cc40bc'

API

md5(input, options)

return MD5 string of input

targets

  • Type: string
  • Details: input string

options

uppercase
  • Type: boolean
  • Details: return uppercase?
  • Default: false

Contributing

  1. Fork it on GitHub!
  2. Clone the fork to your own machine.
  3. Checkout your feature branch: git checkout -b my-awesome-feature
  4. Commit your changes to your own branch: git commit -am 'Add some feature'
  5. Push your work back up to your fork: git push -u origin my-awesome-feature
  6. Submit a Pull Request so that we can review your changes.

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

License

MIT © 汪磊