in features/encrypt/like/src/main/java/org/apache/shardingsphere/encrypt/like/algorithm/CharDigestLikeEncryptAlgorithm.java [84:93]
private int createDelta(final Properties props) {
if (props.containsKey(DELTA_KEY)) {
try {
return Integer.parseInt(props.getProperty(DELTA_KEY));
} catch (final NumberFormatException ignored) {
throw new AlgorithmInitializationException(this, "delta can only be a decimal number");
}
}
return DEFAULT_DELTA;
}