Files
vue-driven-cloud-storage/backend/node_modules/sm3/README.md
237899745 b135987fe8 feat: 添加多项功能和修复
功能新增:
- OSS 存储使用情况显示(文件页面)
- OSS 当日流量统计(阿里云云监控API)
- 分享页面路由修复(/s/xxx 格式支持)

Bug修复:
- 修复分享页面资源路径(相对路径改绝对路径)
- 修复分享码获取逻辑(支持路径格式)
- 修复OSS配额undefined显示问题
- 修复登录流程OSS配置检查
- 修复文件数为null时的显示问题

依赖更新:
- 添加 @alicloud/cms20190101 云监控SDK
- 添加 @alicloud/openapi-client

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 21:04:22 +08:00

36 lines
812 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# JavaScript SM3
## 简介
国密SM3密码杂凑算法的JavaScript实现。目前只能在服务器端环境Node.js使用。
## 使用
直接下载源代码将sm3.js拷贝到你的项目中或者使用[npm](https://www.npmjs.org/)安装:
```sh
npm install sm3
```
```js
const sm3 = require('sm3');
const hash = sm3('值');
```
## 要求
没有依赖但Node.js版本需>=6.0.0或使用sm3-babel.js文件Node.js版本>=1.0.0
也可自行使用[Babel](http://babeljs.io/)对sm3.js文件进行转化
```sh
babel sm3.js --out-file sm3-babel.js
```
## 接口
```js
const hash = sm3('值');
```
## 参考
[SM3密码杂凑算法](http://www.sca.gov.cn/sca/xwdt/2010-12/17/1002389/files/302a3ada057c4a73830536d03e683110.pdf)
## License
[MIT license](http://www.opensource.org/licenses/MIT).