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