mirror of
https://gitee.com/dromara/hutool.git
synced 2025-08-23 22:11:41 +08:00
fix test
This commit is contained in:
parent
3987f5b7ee
commit
59ad18381d
@ -73,8 +73,8 @@ public class HmacTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void zuc256MacTest(){
|
public void zuc256MacTest(){
|
||||||
byte[] iv = new byte[25];
|
|
||||||
final byte[] key = new byte[32];
|
final byte[] key = new byte[32];
|
||||||
|
byte[] iv = new byte[25];
|
||||||
HMac mac = new HMac("ZUC-256",
|
HMac mac = new HMac("ZUC-256",
|
||||||
KeyUtil.generateKey(ZUC.ZUCAlgorithm.ZUC_128.getValue(), key),
|
KeyUtil.generateKey(ZUC.ZUCAlgorithm.ZUC_128.getValue(), key),
|
||||||
new IvParameterSpec(iv));
|
new IvParameterSpec(iv));
|
||||||
|
Loading…
Reference in New Issue
Block a user