| 程序包 | 说明 |
|---|---|
| lich.tool.encryptionAndDecryption | |
| lich.tool.encryptionAndDecryption.core |
| 限定符和类型 | 方法和说明 |
|---|---|
static ProviderMode.Symmetric.Cipher |
ProviderMode.Symmetric.Cipher.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ProviderMode.Symmetric.Cipher[] |
ProviderMode.Symmetric.Cipher.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
SymmetricTool.decrypt(byte[] enc,
byte[] pwd,
ProviderMode.Symmetric.Cipher algorithm)
对称解密
|
static byte[] |
SymmetricTool.decrypt(byte[] enc,
byte[] pwd,
ProviderMode.Symmetric.Cipher algorithm,
byte[] iv)
对称解密
|
static byte[] |
SymmetricTool.encrypt(byte[] ori,
byte[] pwd,
ProviderMode.Symmetric.Cipher algorithm)
对称加密
|
static byte[] |
SymmetricTool.encrypt(byte[] ori,
byte[] pwd,
ProviderMode.Symmetric.Cipher algorithm,
byte[] iv)
对称加密
|
Copyright © 2021. All rights reserved.