1.0.3 • Published 6 years ago

node-sign v1.0.3

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

node-sign

安装

npm install node-sign

使用说明

const Signature = require('node-sign');
const sign = Signature(option);

const signStr = sign([str1,str2,str3]);
const signStrAnother = sign({
	str1: '...',
	str2: '...',
	str3: '...'
});

签名方法

签名方法可接受两种类型

  • 字符串数组
  • 对象

option

option包含

  • sort 选填,排序方法
  • hashMethod 选填,摘要方法,默认md5
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago