issues Search Results · repo:xjfuuu/SM2_SM3_SM4Encrypt language:Java
Filter by
0 results
(83 ms)0 results
inxjfuuu/SM2_SM3_SM4Encrypt (press backspace or delete to remove) !--国密依赖包--
!-- https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk15on --
!-- dependency groupId org.bouncycastle /groupId artifactId bcpkix-jdk15on /artifactId version 1.57 /version ...
xueyuanhong
- Opened on Dec 25, 2023
- #17
硬件密码介质,如密码机等,在签名过程中z值不参与,请教下基于bc库如何实现呢? 签名结果不带z值的验签,可参考 https://i.goto327.top/CryptTools/SM2.aspx 进行不带Z值签名验证。 请大佬指导下。
Jeery-Wang
- 1
- Opened on Nov 13, 2023
- #16
src/main/java/cn/xjfme/encrypt/utils/sm2/SM2SignVerUtils.java
变量bis等未关闭流
linenlin01
- Opened on Jul 18, 2022
- #15
ghost
- 1
- Opened on Jun 22, 2022
- #13
为了标准化输入输出,我对 SM4Utils 作了入参、出参改造,全部以byte[]来表示,由于iv是一个固定值,采用了new
byte[16]这样一个字节数组对象,结果发现这个iv对象在解密时发生了改变,于是解密失败。希望能算法里能复制一组iv使用,与入参隔离。
xunsan
- Opened on Mar 10, 2022
- #12
sm4填充计算是否有问题? 注释是这样的 //填充:hex必须是32的整数倍填充 ,填充的是80 00 00 00 计算是否需要填充是这样的 int p = 16 - input.length % 16;
但当input.length为32时,p为16,填充完则为48,不是32的整数倍
所以应该做一个判断,p小于16才填充,因为等于16的时候,刚好就是32的整数倍
463010817
- 4
- Opened on Dec 22, 2021
- #10
GZK0329
- Opened on Jun 18, 2021
- #8
在SecurityTestAll.java文件中,将密钥对换成: String prikey
= 046200dc15652d755ba776ab517215e1a2b781896e9639f333562eff73cbec4b9b24c67721f945fe97f109d045dc5cfc59aa264265acc910c573488ec10d295d2d
; String pubkey = f700bd1001d7b567cce0eb600aae61307acecf9b0ac821c7565493c5ae9e6e52 ...
bug
zero578
- 2
- Opened on Mar 13, 2021
- #7

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.