Class AESEncryptAlgorithm
java.lang.Object
org.apache.shardingsphere.encrypt.algorithm.encrypt.AESEncryptAlgorithm
- All Implemented Interfaces:
StandardEncryptAlgorithm<Object,,String> EncryptAlgorithm,org.apache.shardingsphere.infra.config.algorithm.ShardingSphereAlgorithm,org.apache.shardingsphere.infra.util.spi.lifecycle.SPIPostProcessor,org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
public final class AESEncryptAlgorithm
extends Object
implements StandardEncryptAlgorithm<Object,String>
AES encrypt algorithm.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecrypt(String cipherValue, EncryptContext encryptContext) encrypt(Object plainValue, EncryptContext encryptContext) getType()voidinit(Properties props) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.infra.config.algorithm.ShardingSphereAlgorithm
getPropsMethods inherited from interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
getTypeAliases
-
Constructor Details
-
AESEncryptAlgorithm
public AESEncryptAlgorithm()
-
-
Method Details
-
init
- Specified by:
initin interfaceorg.apache.shardingsphere.infra.util.spi.lifecycle.SPIPostProcessor
-
encrypt
- Specified by:
encryptin interfaceStandardEncryptAlgorithm<Object,String>
-
decrypt
- Specified by:
decryptin interfaceStandardEncryptAlgorithm<Object,String>
-
getType
- Specified by:
getTypein interfaceorg.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
-