Interface EncryptAlgorithm<I,O>
-
- Type Parameters:
I- type of plain valueO- type of cipher value
- All Superinterfaces:
org.apache.shardingsphere.infra.util.spi.type.typed.algorithm.ShardingSphereAlgorithm,org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI
- All Known Subinterfaces:
AssistedEncryptAlgorithm<I,O>,LikeEncryptAlgorithm<I,O>,StandardEncryptAlgorithm<I,O>
public interface EncryptAlgorithm<I,O> extends org.apache.shardingsphere.infra.util.spi.type.typed.algorithm.ShardingSphereAlgorithmEncrypt algorithm.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Oencrypt(I plainValue, EncryptContext encryptContext)Encrypt.
-
-
-
Method Detail
-
encrypt
O encrypt(I plainValue, EncryptContext encryptContext)
Encrypt.- Parameters:
plainValue- plain valueencryptContext- encrypt context- Returns:
- cipher value
-
-