Tekkaman

导航

 

2017年9月7日

摘要: 【node-rsa】 引用 生成一个私钥长度为512的key(同时生成公钥) 使用公钥加密(当然,加密都是指用公钥加密) 使用私钥解密(当然,解密都是指用私钥解密) 导出公钥、私钥 导入公钥、私钥 参考:https://www.npmjs.com/package/node-rsa 阅读全文
posted @ 2017-09-07 22:35 Tekkaman 阅读(626) 评论(0) 推荐(0)
 
摘要: 【async.waterfall】 if any of the tasks pass an error to their own callback, the next function is not executed, and the main callback is immediately cal 阅读全文
posted @ 2017-09-07 17:26 Tekkaman 阅读(236) 评论(0) 推荐(0)
 
摘要: 【async.series】 series适用于顺序执行异步且前后无关联的调用。对于顺序执行异步且前后有叛逆的调用,则需要使用waterfall。 If any functions in the series pass an error to its callback, no more functi 阅读全文
posted @ 2017-09-07 17:14 Tekkaman 阅读(977) 评论(0) 推荐(0)