Commit Graph

189 Commits

Author SHA1 Message Date
Looly
05f16f051e change link 2025-02-21 17:40:14 +08:00
Looly
12b56a3841 增加BCUtil.decodeECPrivateKey方法(issue#3829@Github) 2025-01-01 18:39:50 +08:00
Looly
c04c5610f8 SM2.signHex改名为signHexFromHex,原名标记废弃,避免歧义 2024-10-30 11:56:34 +08:00
Looly
2b30b8df24 SM2解密时,兼容GmSSL非压缩省略的04头的密文 2024-09-05 13:23:47 +08:00
Looly
1cd3f633c9 修复SymmetricCrypto.setParams和setRandom没有加锁问题 2024-08-13 23:08:08 +08:00
Looly
994ac87ae6 单元测试由Junit4变更为Junit5 2024-08-09 14:34:53 +08:00
Looly
c7e0bc5d9f 单元测试由Junit4变更为Junit5 2024-08-09 14:32:30 +08:00
wangym
661ec08cb8 支持"RSA/ECB/OAEPWithSHA-1AndMGF1Padding"的RSA加解密 2024-07-26 15:13:56 +08:00
Looly
b409d76899 add test 2024-06-25 14:44:42 +08:00
Matthew Zhang
99313300ad [fix]修改cn.hutool.crypto包下的SignUtil类注释,将"非堆成签名"修改为"非对称签名" 2024-04-12 10:08:38 +08:00
Looly
f2e154f5b5 add test 2024-03-12 10:03:05 +08:00
Looly
163f1efd43 通过添加系统属性hutool.crypto.decodeHex强制关闭hex识别以解决hex和Base64歧义问题 2024-02-10 08:37:13 +08:00
human-user
7c22ba0a21 修复BouncyCastleProvider导致graalvm应用报错UnsupportedFeatureError 2024-01-11 16:43:15 +08:00
Looly
09ee55cc6f fix comment 2023-12-28 18:39:52 +08:00
summertime-wu
180f57c7de 移除未使用到的import 2023-09-15 10:22:37 +08:00
Looly
25b831c214 fix test 2023-07-08 19:11:17 +08:00
Looly
13e21a32f6 del test 2023-06-09 23:37:37 +08:00
Looly
cdba0162f8 remove Paillier 2023-06-09 20:18:00 +08:00
Looly
c84f674c1e 添加同态加密算法Paillier 2023-06-09 18:14:04 +08:00
Looly
c3a05d5159 添加 同态加密算法 Paillier 2023-06-09 17:49:23 +08:00
Revers
bc915ba167 添加 同态加密算法 Paillierr 2023-06-05 16:00:28 +08:00
Looly
049086aa79 优化MD5性能 2023-05-04 03:14:12 +08:00
Looly
67a644aa28 fix test 2023-03-31 00:35:42 +08:00
Looly
dcd5b51bcf fix test 2023-03-30 23:59:03 +08:00
Looly
1a646df52a add test 2023-03-22 00:07:36 +08:00
Looly
50c07dd4d8 修复NoSuchMethodError未捕获问题 2023-03-09 20:00:13 +08:00
悟道
bb629b6e7e fix comment: ECB/PKCS5Padding is the default mode and padding. 2022-12-28 14:55:56 +08:00
Golden Looly
b596be1083
Merge pull request #2820 from CherryRum/lin_dev
fix: 修复sm2构造方法NullPointerException
2022-12-27 20:21:34 +08:00
Looly
05c32a8f46 KeyUtil中的读取KeyStore文件的方法增加全局Provider 2022-12-27 19:52:33 +08:00
yulin
988e59eafd feature: 修复sm2构造方法NullPointerException
Closes https://gitee.com/dromara/hutool/issues/I66OCK
2022-12-20 12:53:02 +08:00
Looly
2142d6522a 由于对于ASCII的编码解码有缺陷,且这种BCD实现并不规范,因此BCD标记为弃用 2022-10-24 19:45:11 +08:00
Looly
8a30943d44 修复部分环境下使用 Bouncy Castle可能的JCE cannot authenticate the provider BC问题 2022-09-26 12:15:53 +08:00
高龙
a55a0be539 修复SecureUtil类中HMAC算法加密器创建方法传入的key参数为空时抛异常问题 2022-08-08 19:47:32 +08:00
Looly
5ba2ba9e2a PemUtil.readPemPrivateKey支持pkcs#1格式,增加OpensslKeyUtil 2022-07-17 21:26:09 +08:00
changhr2013
7c2e0ed887 [new] enhance PemUtil#readPemKey method, support more pem format, depend on bcpkix-jdk15on 2022-07-17 15:41:26 +08:00
thesomeexp
811d200d30
Update DigestUtil.java
修改注释错字
2022-05-31 15:56:22 +08:00
Looly
81ef04875b add methods 2022-05-05 14:01:09 +08:00
Looly
bea723c11b add methods 2022-04-28 17:00:49 +08:00
Looly
4d2e7bc755 fix comment 2022-04-02 00:32:08 +08:00
Looly
d78b14c5d4 add engine 2022-04-02 00:03:12 +08:00
Looly
59ad18381d fix test 2022-03-31 21:34:27 +08:00
Looly
4cee569d22 add SM4CMAC 2022-03-31 15:30:18 +08:00
Looly
b1920b6fa2 fix code 2022-03-20 21:44:12 +08:00
Looly
b0605b55ba remove length 2022-03-17 20:53:36 +08:00
Looly
f1abd98b62 fix comment 2022-03-15 21:09:59 +08:00
Looly
b8bfce490b fix comment 2022-03-09 12:05:09 +08:00
Looly
580e2e9fbe add XXTEA 2022-03-05 23:49:27 +08:00
Looly
899f1384f6 add test 2022-03-05 22:47:07 +08:00
Looly
1c55e39832 add Base58 2022-02-25 03:18:28 +08:00
Looly
09be0d85be add test 2022-02-21 01:24:48 +08:00