Class CharDigestLikeEncryptAlgorithm

java.lang.Object
org.apache.shardingsphere.encrypt.algorithm.like.CharDigestLikeEncryptAlgorithm
All Implemented Interfaces:
LikeEncryptAlgorithm<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 CharDigestLikeEncryptAlgorithm extends Object implements LikeEncryptAlgorithm<Object,String>
Char digest like encrypt algorithm.
  • Constructor Details

    • CharDigestLikeEncryptAlgorithm

      public CharDigestLikeEncryptAlgorithm()
  • Method Details

    • init

      public void init(Properties props)
      Specified by:
      init in interface org.apache.shardingsphere.infra.util.spi.lifecycle.SPIPostProcessor
    • encrypt

      public String encrypt(Object plainValue, EncryptContext encryptContext)
      Specified by:
      encrypt in interface LikeEncryptAlgorithm<Object,String>
    • getType

      public String getType()
      Specified by:
      getType in interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI