public class BCHMacEngine extends BCMacEngine
Mac
实现摘要raw
Constructor and Description |
---|
BCHMacEngine(org.bouncycastle.crypto.Digest digest,
byte[] key)
构造
|
BCHMacEngine(org.bouncycastle.crypto.Digest digest,
byte[] key,
byte[] iv)
构造
|
BCHMacEngine(org.bouncycastle.crypto.Digest digest,
org.bouncycastle.crypto.CipherParameters params)
构造
|
BCHMacEngine(org.bouncycastle.crypto.macs.HMac mac,
org.bouncycastle.crypto.CipherParameters params)
构造
|
doFinal, getAlgorithm, getMacLength, reset, update
getRaw
public BCHMacEngine(org.bouncycastle.crypto.Digest digest, byte[] key, byte[] iv)
digest
- 摘要算法,为Digest
的接口实现key
- 密钥iv
- 加盐public BCHMacEngine(org.bouncycastle.crypto.Digest digest, byte[] key)
digest
- 摘要算法,为Digest
的接口实现key
- 密钥public BCHMacEngine(org.bouncycastle.crypto.Digest digest, org.bouncycastle.crypto.CipherParameters params)
digest
- 摘要算法params
- 参数,例如密钥可以用KeyParameter
public BCHMacEngine(org.bouncycastle.crypto.macs.HMac mac, org.bouncycastle.crypto.CipherParameters params)
mac
- HMac
params
- 参数,例如密钥可以用KeyParameter
Copyright © 2025. All rights reserved.