# sm234 **Repository Path**: thehappymouse/sm234 ## Basic Information - **Project Name**: sm234 - **Description**: 近日有项目需要使用招行的聚合支付,需要使用国密sm2算法来签名和验签。因招行暂未提供php的代码,所以特搜集了需要用到的所有类库,并写了一个简单的文件来获取主动支付二维码,供有同样需求的小伙伴参考。参考代码:Juhe.php是使用thinkPHP6框架写的 - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 7 - **Created**: 2023-08-18 - **Last Updated**: 2023-08-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sm234 #### 介绍 近日有项目需要使用招行的聚合支付,需要使用国密sm2算法来签名和验签。因招行暂未提供php的代码,所以特搜集了需要用到的所有类库,并写了一个简单的文件来获取主动支付二维码,供有同样需求的小伙伴参考。 #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. 参考示例:Juhe.php 2. 该示例代码使用了thinkphp6 3. 加签为:Sign(array $array);验签为:ValidSign(array $array)。只有这两个方法涉及国密算法,其他逻辑均可参考招行文档 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)