https://github.com/idimetrix/fast-md5
Super fast JavaScript MD5 implementation
https://github.com/idimetrix/fast-md5
hash md5 sha1
Last synced: 6 months ago
JSON representation
Super fast JavaScript MD5 implementation
- Host: GitHub
- URL: https://github.com/idimetrix/fast-md5
- Owner: idimetrix
- License: mit
- Created: 2020-01-04T22:53:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T04:52:22.000Z (over 2 years ago)
- Last Synced: 2024-11-27T20:38:14.356Z (6 months ago)
- Topics: hash, md5, sha1
- Language: TypeScript
- Size: 999 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fast-md5
[](http://travis-ci.org/dimetrix/fast-md5) [](http://npm-stat.com/charts.html?package=fast-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](http://nodejs.org/):
~~~
npm install fast-md5
~~~## API
~~~ javascript
md5(message)
~~~* `message` -- `String`
* returns `String`## Usage
~~~ javascript
var md5 = require('fast-md5');console.log(md5('Expo 2020'));
~~~This will print the following
~~~
a299078805331edb24ac298ba9f6364b
~~~## Contribution
If you find a bug or want to contribute to the code or documentation, you can help by submitting an [issue](https://github.com/idimetrix/fast-md5/issues) or a [pull request](https://github.com/idimetrix/fast-md5/pulls).
## License
[MIT](http://opensource.org/licenses/MIT)