134 Commits

Author SHA1 Message Date
Matthew Zhang
99313300ad [fix]修改cn.hutool.crypto包下的SignUtil类注释,将"非堆成签名"修改为"非对称签名" 2024-04-12 10:08:38 +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
Looly
cdba0162f8 remove Paillier 2023-06-09 20:18:00 +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
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
d78b14c5d4 add engine 2022-04-02 00:03:12 +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
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
1c55e39832 add Base58 2022-02-25 03:18:28 +08:00
Lin
adbae59b69 1.修复byte[] SM2.getD前导0问题
2.优化 getDHex()使用`BigInteger`效率过低
2022-02-18 16:45:02 +08:00
Looly
f054cef97b add SignUtil 2022-01-12 11:20:34 +08:00
lin
a920b9b0aa fix SM2.getDHex() Method 2022-01-06 12:24:24 +08:00
micuncang
e61264a0f6
fix comment
SM4支持秘钥长度为128bit
2021-12-22 18:10:54 +08:00
Looly
9468c132ff fix getD 2021-12-09 01:26:33 +08:00
Looly
851a10d3b0 add CipherWrapper 2021-11-19 01:30:08 +08:00
Looly
e58c8c9d6c add method 2021-11-06 01:17:08 +08:00
李国鹏
a9a4143bee 新增可以传入秘钥的SM3加密工具方法 2021-11-04 09:35:40 +00:00
Looly
a77dce46cd fix qr test 2021-10-26 22:19:59 +08:00
Looly
98512fa1f2 fix bug 2021-10-21 13:18:53 +08:00
Looly
e258fc1eb9 fix bug 2021-10-19 13:27:16 +08:00
Looly
47f1d967ed fix comment 2021-09-09 18:20:43 +08:00
Looly
6b8adc8a90 add chacha20 2021-09-09 18:13:29 +08:00
Looly
02885bbcd3 add ZUC 2021-09-09 16:14:37 +08:00
Looly
8ddf18fb7a add interface 2021-09-08 11:11:27 +08:00
Looly
4c237ba95e add test and change AES costructor 2021-09-07 23:54:57 +08:00
Looly
7379e27d56 add method 2021-09-06 16:12:33 +08:00
Looly
5d5b62dbd1 fix code 2021-08-27 10:39:14 +08:00
Looly
d66efef873 add constructor 2021-08-26 23:40:28 +08:00
Looly
6ac88ef1fe add ASN1Util 2021-08-18 01:00:32 +08:00
Looly
e6b78d943c fix comment 2021-08-11 18:59:36 +08:00
Looly
4679068e98 fix comment 2021-07-28 02:02:13 +08:00