Comments (8)
钉钉的加密数据无法解密,钉钉也无法识别我这边加密的success数据
Prpcrypt 这个类 的196行 要改成 构造函数
function Prpcrypt($k) { $this->key = base64_decode($k . "="); }
改成
function __construct($k) { $this->key = base64_decode($k . "="); }
from dingtalk-callback-crypto.
钉钉的加密数据无法解密,钉钉也无法识别我这边加密的success数据
from dingtalk-callback-crypto.
这个我改了,后面发现问题是参数传错了
from dingtalk-callback-crypto.
我就怀疑php版本的demo代码没有测试过就发上来了,既然你说你的php版本的代码是需要php7.1的,那么构造函数和类名为什么还要写成一样的方式而不是__construct的形式?而且你在test_demo里面,不声明$data直接调用,这样代码严谨吗?
from dingtalk-callback-crypto.
可以改这个php版本的吗,太啰嗦了不好用
from dingtalk-callback-crypto.
今天试了下,也是不通
from dingtalk-callback-crypto.
钉钉的加密数据无法解密,钉钉也无法识别我这边加密的success数据
Prpcrypt 这个类 的196行 要改成 构造函数
function Prpcrypt($k) { $this->key = base64_decode($k . "="); }
改成
function __construct($k) { $this->key = base64_decode($k . "="); }
2023-03-02 12:04:32,对我来说是有效的
from dingtalk-callback-crypto.
钉钉的加密数据无法解密,钉钉也无法识别我这边加密的success数据
Prpcrypt 这个类 的196行 要改成 构造函数
function Prpcrypt($k) { $this->key = base64_decode($k . "="); }
改成
function __construct($k) { $this->key = base64_decode($k . "="); }
2023-03-02 12:04:32,对我来说是有效的
已经完成这个修改,感谢支持
from dingtalk-callback-crypto.
Related Issues (20)
- 加班事件收不到回调 HOT 1
- 加密没有返回success HOT 4
- 加密消息长度超127后报UnicodeDecodeError(Python) HOT 3
- python3.9.5加密失败解决办法 HOT 2
- 事件与回调-HTTP请求结果校验返回字段值失败 HOT 2
- 当 aesKey 的配不匹配时,Java 发生 java.lang.OutOfMemoryError
- 当 aesKey 的配不匹配时,Java 发生 java.lang.OutOfMemoryError
- 当 aesKey 的钉钉后台和应用中的配置不匹配时,Java 发生 java.lang.OutOfMemoryError HOT 2
- Rust版本实现
- php8.x 版本new Prpcrypt()无法继承AesKey HOT 1
- Deno 版本实现 HOT 1
- Java版本的解密失败问题 jdk17 HOT 1
- 解决jdk11、jdk17版本的解密出现Illegal key size异常的问题 HOT 2
- DingCallbackCrypto3.py报错的解决方案 HOT 3
- S HOT 1
- 请问这个加密类和DingTalkEncryptor的区别是什么 HOT 1
- Last encoded character (before the paddings if any) is a valid base 64 alphabet but not a possible value. Expected the discarded bits to be zero HOT 1
- Prpcrypt 没有构造函数 __construct 导致报错 HOT 2
- python3版本报错ValueError: signature check error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dingtalk-callback-crypto.