Code Monkey home page Code Monkey logo

Comments (8)

MichonneHsu avatar MichonneHsu commented on August 23, 2024 3

钉钉的加密数据无法解密,钉钉也无法识别我这边加密的success数据
Prpcrypt 这个类 的196行 要改成 构造函数
function Prpcrypt($k) { $this->key = base64_decode($k . "="); }
改成
function __construct($k) { $this->key = base64_decode($k . "="); }

from dingtalk-callback-crypto.

LTaooo avatar LTaooo commented on August 23, 2024

钉钉的加密数据无法解密,钉钉也无法识别我这边加密的success数据

from dingtalk-callback-crypto.

LTaooo avatar LTaooo commented on August 23, 2024

这个我改了,后面发现问题是参数传错了

from dingtalk-callback-crypto.

duqingnian avatar duqingnian commented on August 23, 2024

我就怀疑php版本的demo代码没有测试过就发上来了,既然你说你的php版本的代码是需要php7.1的,那么构造函数和类名为什么还要写成一样的方式而不是__construct的形式?而且你在test_demo里面,不声明$data直接调用,这样代码严谨吗?

from dingtalk-callback-crypto.

ChengJun-Wu avatar ChengJun-Wu commented on August 23, 2024

可以改这个php版本的吗,太啰嗦了不好用

from dingtalk-callback-crypto.

Observer5 avatar Observer5 commented on August 23, 2024

今天试了下,也是不通

from dingtalk-callback-crypto.

cnLGMing avatar cnLGMing commented on August 23, 2024

钉钉的加密数据无法解密,钉钉也无法识别我这边加密的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.

chzealot avatar chzealot commented on August 23, 2024

钉钉的加密数据无法解密,钉钉也无法识别我这边加密的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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.