me.icymint.libra.jdbc.mask.DefaultMask Maven / Gradle / Ivy
package me.icymint.libra.jdbc.mask;
/**
* 默认屏蔽对象,该对象实际上并未对结果进行屏蔽。
*
* @author Daniel Yu
* @since 2012-11-2
*
*/
public class DefaultMask implements Mask {
@Override
public String decode(String encode, String key) {
return encode;
}
@Override
public String digest(String str) {
return str;
}
@Override
public String encode(String source, String key) {
return source;
}
@Override
public String mask(String str) {
return str;
}
}