增加了一些说明
This commit is contained in:
parent
eaaeabe263
commit
e6e90c01c6
@ -159,8 +159,8 @@ proxy_rule参数input赋值格式为三元素列表[status,content-type,data]
|
|||||||
input = [200,'application/vnd.apple.mpegurl',m3u8]
|
input = [200,'application/vnd.apple.mpegurl',m3u8]
|
||||||
rsa加解密说明:
|
rsa加解密说明:
|
||||||
```js
|
```js
|
||||||
log(typeof(rsax));
|
log(typeof(rsaX));
|
||||||
if(typeof(rsax)=='function'){
|
if(typeof(rsaX)=='function'){
|
||||||
rsax(mode, pub, encrypt, input, inBase64, key, outBase64)
|
rsaX(mode, pub, encrypt, input, inBase64, key, outBase64)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -1,9 +1,9 @@
|
|||||||
###### 2023/10/04
|
###### 2023/10/04
|
||||||
- 关于rsa加解密的研究,js模块导入方式研究失败。请用蜜蜂壳子注入的函数实现
|
- 关于rsa加解密的研究,js模块导入方式研究失败。请用蜜蜂壳子注入的函数实现
|
||||||
```js
|
```js
|
||||||
log(typeof(rsax));
|
log(typeof(rsaX));
|
||||||
if(typeof(rsax)=='function'){
|
if(typeof(rsaX)=='function'){
|
||||||
rsax(mode, pub, encrypt, input, inBase64, key, outBase64)
|
rsaX(mode, pub, encrypt, input, inBase64, key, outBase64)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -35,6 +35,7 @@ function init_test(){
|
|||||||
// var str = encryptor.encrypt(text) // 对数据进行加密
|
// var str = encryptor.encrypt(text) // 对数据进行加密
|
||||||
// console.log("加密数据:" + str);
|
// console.log("加密数据:" + str);
|
||||||
log('rsax:'+typeof(rsax));
|
log('rsax:'+typeof(rsax));
|
||||||
|
log('rsaX:'+typeof(rsaX));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
2
libs/drpy2.min.js
vendored
2
libs/drpy2.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user