1. 首页
  2. 考试认证
  3. 其它
  4. co cryptoThunkified加密模块

co cryptoThunkified加密模块

上传者: 2024-12-16 19:41:00上传 ZIP文件 2.3KB 热度 7次

共同加密Thunkified加密模块。安装$ npm install co-crypto --save

用法:


var crypto = require('crypto');

var bytes = yield crypto.randomBytes(20);

var hash = crypto.createHash('md5').update('hello').digest('hex');

执照在MIT许可下发布。

下载地址
用户评论