params-sign
v1.0.9
Published
js function for hashing messages with MD5
Downloads
11
Readme
Installation
You can use this package on the server side as well as the client side.
Node.js:
yarn add params-sign
Usage
* `data` -- `Object`
* `secret` -- `String`
* `options` -- `Object`
* `options.ignoreKeys` -- `Object`
* returns `String`
sign(data, secret, options)
~~~
~~~ javascript
checkSign(data, secret, signature, options)
~~~
* `message` -- `String` or `Buffer`
* returns `String`