Class ZUC

java.lang.Object
org.aoju.bus.crypto.symmetric.Crypto
org.aoju.bus.crypto.symmetric.ZUC
All Implemented Interfaces:
Serializable, Decryptor, Encryptor

public class ZUC extends Crypto
祖冲之算法集(ZUC算法)实现,基于BouncyCastle实现。
Since:
Java 17+
Author:
Kimi Liu
See Also:
  • Constructor Details

    • ZUC

      public ZUC(ZUC.ZUCAlgorithm algorithm, byte[] key, byte[] iv)
      构造
      Parameters:
      algorithm - ZUC算法枚举,包括128位和256位两种
      key - 密钥
      iv - 加盐,128位加盐是16bytes,256位是25bytes,null是随机加盐
  • Method Details