-
- All Implemented Interfaces:
-
icu.windea.breezeframework.core.component.Component,icu.windea.breezeframework.core.component.Encrypter
public class Encrypters.CipherEncrypter extends AbstractEncrypter
基于密码器的加密器。支持解密。需要指定密钥。
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtransformationprivate final StringcomponentIdprivate final Map<String, Object>componentParams
-
Constructor Summary
Constructors Constructor Description Encrypters.CipherEncrypter(String transformation)
-
Method Summary
Modifier and Type Method Description final StringgetTransformation()StringgetComponentId()Map<String, Object>getComponentParams()ByteArrayencrypt(ByteArray value, ByteArray secret)加密指定的字节数组。 ByteArraydecrypt(ByteArray value, ByteArray secret)解密指定的字节数组。某些加密算法可能不支持解密。 -
Methods inherited from class icu.windea.breezeframework.core.component.Encrypters.CipherEncrypter
equals, hashCode, toString -
Methods inherited from class icu.windea.breezeframework.core.component.AbstractEncrypter
componentCopy -
Methods inherited from class icu.windea.breezeframework.core.component.Encrypter
componentEquals, componentHashcode, componentToString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Encrypters.CipherEncrypter
Encrypters.CipherEncrypter(String transformation)
-
-
Method Detail
-
getTransformation
final String getTransformation()
-
getComponentId
String getComponentId()
-
getComponentParams
Map<String, Object> getComponentParams()
-
-
-
-