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