更新readme
parent
97400afb39
commit
1b7142d114
|
@ -2,13 +2,12 @@
|
||||||
|
|
||||||
[English Readme](./Readme_EN.md)
|
[English Readme](./Readme_EN.md)
|
||||||
|
|
||||||
感谢以下2个优秀的开源库:
|
感谢下面的开源库:
|
||||||
|
|
||||||
1. [spark-md5](https://github.com/satazor/js-spark-md5), 这个经本人测试, 确实是纯js版中性能最高的一个, 本仓库引入进来, 调整为ESM方式使用。
|
1. [spark-md5](https://github.com/satazor/js-spark-md5), 这个经本人测试, 确实是纯js版中性能最高的一个, 本仓库引入进来, 调整为ESM方式使用。
|
||||||
2. [base64](https://github.com/beatgammit/base64-js), 完整的base64库, 相比原生的 btoa()方法, 这个支持对中文进行编码。
|
|
||||||
|
|
||||||
|
|
||||||
以上这2个库, 在index.js中有引入。对体积有要求的, 可以单独使用。
|
以上这个库, 在index.js中有引入。对体积有要求的, 可以单独使用。
|
||||||
|
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|
|
@ -2,13 +2,12 @@
|
||||||
|
|
||||||
[中文 Readme](./Readme.md)
|
[中文 Readme](./Readme.md)
|
||||||
|
|
||||||
Thanks these two libraries:
|
Thanks this library:
|
||||||
|
|
||||||
1. [spark-md5](https://github.com/satazor/js-spark-md5), After some testing, this is indeed the highest performing version in the pure JS version. It has been introduced into this warehouse and adjusted to be used in ESM mode.
|
1. [spark-md5](https://github.com/satazor/js-spark-md5), After some testing, this is indeed the highest performing version in the pure JS version. It has been introduced into this warehouse and adjusted to be used in ESM mode.
|
||||||
2. [base64](https://github.com/beatgammit/base64-js), Fully supported base64 library, which supports encoding Chinese characters compared to the native btoa() method.
|
|
||||||
|
|
||||||
|
|
||||||
These two libraries are included in index.js. If you have specific requirements on size, you can use them separately.
|
This library is included in index.js. If you have specific requirements on size, you can use them separately.
|
||||||
|
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "crypto.web.js",
|
"name": "crypto.web.js",
|
||||||
"version": "1.0.6",
|
"version": "1.0.7",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
Loading…
Reference in New Issue