类 EncryptProvider
- java.lang.Object
-
- cloud.longfa.encrypt.config.EncryptProvider
-
- 直接已知子类:
AESConfiguration,RSAConfiguration,SM4Configuration
public abstract class EncryptProvider extends Object
The type Encrypt provider.- 从以下版本开始:
- : 1.0.0
- 作者:
- : longfa
-
-
字段概要
字段 修饰符和类型 字段 说明 protected static StringBADGERThe constant BADGER.static ConcurrentHashMap<CipherMode,EncryptProvider>encryptFactoryThe constant encryptFactory.
-
构造器概要
构造器 构造器 说明 EncryptProvider()
-
-
-
字段详细资料
-
encryptFactory
public static final ConcurrentHashMap<CipherMode,EncryptProvider> encryptFactory
The constant encryptFactory.
-
-
方法详细资料
-
aesKey
public static String aesKey()
Aes key string.- 返回:
- the string
-
aesIv
public static String aesIv()
Aes iv string.- 返回:
- the string
-
privateKeyBase64
public static String privateKeyBase64()
Private key base 64 string.- 返回:
- the string
-
publicKeyBase64
public static String publicKeyBase64()
Public key base 64 string.- 返回:
- the string
-
sm4Key
public static String sm4Key()
sm4过密算法 配置key- 返回:
- the string
-
sm4Iv
public static String sm4Iv()
获取sm4偏移量- 返回:
- 长度为16字节的字符串
-
-