All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.polaris.crypto.symmetric.SM4 Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package io.polaris.crypto.symmetric;

import io.polaris.core.crypto.symmetric.Symmetric;
import io.polaris.core.crypto.symmetric.SymmetricAlgorithm;

import java.security.Key;
import java.security.NoSuchAlgorithmException;

/**
 * 国密对称加密算法SM4实现
 *
 * 

* 国密算法包括: *

    *
  1. 非对称加密和签名:SM2
  2. *
  3. 摘要签名算法:SM3
  4. *
  5. 对称加密:SM4
  6. *
* * @author Qt * @since 1.8 */ public class SM4 extends Symmetric { public SM4(Key key) { super(SymmetricAlgorithm.SM4, key); } public SM4() throws NoSuchAlgorithmException { super(SymmetricAlgorithm.SM4); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy