001package io.ebean.config.dbplatform;
002
003public interface DbEncryptFunction {
004
005  /**
006   * Return the SQL for decrypting a column returning a VARCHAR.
007   */
008  String getDecryptSql(String columnWithTableAlias);
009
010  /**
011   * Return the DB function with bind variables used to encrypt a VARCHAR value.
012   */
013  String getEncryptBindSql();
014
015}