| Package | Description |
|---|---|
| org.aoju.bus.crypto | |
| org.aoju.bus.crypto.digest | |
| org.aoju.bus.crypto.digest.mac |
| Modifier and Type | Method and Description |
|---|---|
static MacEngine |
Builder.createHmacSm3Engine(byte[] key)
创建HmacSM3算法的
MacEngine |
| Constructor and Description |
|---|
HMac(MacEngine engine)
构造
|
| Modifier and Type | Class and Description |
|---|---|
class |
BCHMacEngine
BouncyCastle的HMAC算法实现引擎,使用
Mac 实现摘要
当引入BouncyCastle库时自动使用其作为Provider |
class |
DefaultHMacEngine
默认的HMAC算法实现引擎,使用
Mac 实现摘要
当引入BouncyCastle库时自动使用其作为Provider |
| Modifier and Type | Method and Description |
|---|---|
static MacEngine |
MacEngineFactory.createEngine(String algorithm,
SecretKey key)
根据给定算法和密钥生成对应的
MacEngine |
Copyright © 2020. All rights reserved.