Package | Description |
---|---|
cn.hutool.crypto |
加密解密模块,实现了对JDK中加密解密算法的封装,入口为SecureUtil,实现了:
1.
|
cn.hutool.crypto.symmetric.fpe |
Modifier and Type | Method and Description |
---|---|
static FPE |
SecureUtil.fpe(FPE.FPEMode mode,
byte[] key,
org.bouncycastle.crypto.AlphabetMapper mapper,
byte[] tweak)
FPE(Format Preserving Encryption)实现,支持FF1和FF3-1模式。
|
Modifier and Type | Method and Description |
---|---|
static FPE.FPEMode |
FPE.FPEMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FPE.FPEMode[] |
FPE.FPEMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
FPE(FPE.FPEMode mode,
byte[] key,
org.bouncycastle.crypto.AlphabetMapper mapper)
构造,使用空的Tweak
|
FPE(FPE.FPEMode mode,
byte[] key,
org.bouncycastle.crypto.AlphabetMapper mapper,
byte[] tweak)
构造
|
Copyright © 2024. All rights reserved.