Interface StandardEncryptAlgorithm<I,​O>

  • Type Parameters:
    I - type of plain value
    O - type of cipher value
    All Superinterfaces:
    EncryptAlgorithm<I,​O>, org.apache.shardingsphere.infra.util.spi.type.typed.algorithm.ShardingSphereAlgorithm, org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI

    public interface StandardEncryptAlgorithm<I,​O>
    extends EncryptAlgorithm<I,​O>
    Standard encrypt algorithm.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      I decrypt​(O cipherValue, EncryptContext encryptContext)
      Decrypt.
      • Methods inherited from interface org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPI

        getType, getTypeAliases, init, isDefault
    • Method Detail

      • decrypt

        I decrypt​(O cipherValue,
                  EncryptContext encryptContext)
        Decrypt.
        Parameters:
        cipherValue - cipher value
        encryptContext - encrypt context
        Returns:
        plain value