Class MD5EncryptAlgorithm
java.lang.Object
org.apache.shardingsphere.encrypt.algorithm.encrypt.MD5EncryptAlgorithm
- 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 MD5EncryptAlgorithm
extends Object
implements StandardEncryptAlgorithm<Object,String>
MD5 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
-
MD5EncryptAlgorithm
public MD5EncryptAlgorithm()
-
-
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
-