private int createMask()

in features/encrypt/like/src/main/java/org/apache/shardingsphere/encrypt/like/algorithm/CharDigestLikeEncryptAlgorithm.java [95:104]


    private int createMask(final Properties props) {
        if (props.containsKey(MASK_KEY)) {
            try {
                return Integer.parseInt(props.getProperty(MASK_KEY));
            } catch (final NumberFormatException ignored) {
                throw new AlgorithmInitializationException(this, "mask can only be a decimal number");
            }
        }
        return DEFAULT_MASK;
    }