增加了一些说明

This commit is contained in:
hjdhnx 2023-10-04 16:06:04 +08:00
parent eaaeabe263
commit e6e90c01c6
4 changed files with 8 additions and 7 deletions

View File

@ -159,8 +159,8 @@ proxy_rule参数input赋值格式为三元素列表[status,content-type,data]
input = [200,'application/vnd.apple.mpegurl',m3u8]
rsa加解密说明:
```js
log(typeof(rsax));
if(typeof(rsax)=='function'){
rsax(mode, pub, encrypt, input, inBase64, key, outBase64)
log(typeof(rsaX));
if(typeof(rsaX)=='function'){
rsaX(mode, pub, encrypt, input, inBase64, key, outBase64)
}
```

View File

@ -1,9 +1,9 @@
###### 2023/10/04
- 关于rsa加解密的研究js模块导入方式研究失败。请用蜜蜂壳子注入的函数实现
```js
log(typeof(rsax));
if(typeof(rsax)=='function'){
rsax(mode, pub, encrypt, input, inBase64, key, outBase64)
log(typeof(rsaX));
if(typeof(rsaX)=='function'){
rsaX(mode, pub, encrypt, input, inBase64, key, outBase64)
}
```

View File

@ -35,6 +35,7 @@ function init_test(){
// var str = encryptor.encrypt(text) // 对数据进行加密
// console.log("加密数据:" + str);
log('rsax:'+typeof(rsax));
log('rsaX:'+typeof(rsaX));
}
/**

2
libs/drpy2.min.js vendored

File diff suppressed because one or more lines are too long