Package | Description |
---|---|
org.dromara.hutool.crypto.bc |
BouncyCastle库相关工具封装
|
org.dromara.hutool.crypto.digest |
摘要加密算法实现,入口为DigestUtil
|
Modifier and Type | Method and Description |
---|---|
static SM3 |
SmUtil.sm3()
SM3加密
例: SM3加密:sm3().digest(data) SM3加密并转为16进制字符串:sm3().digestHex(data) |
static SM3 |
SmUtil.sm3WithSalt(byte[] salt)
SM3加密,可以传入盐
|
Modifier and Type | Method and Description |
---|---|
static SM3 |
SM3.of()
创建SM3实例
|
Copyright © 2025. All rights reserved.