Examples of PooledByteDigester


Examples of org.jasypt.digest.PooledByteDigester

    private static ByteDigester getSHA1DigesterLegacy() {
        if (sha1DigesterLegacy == null) {
            synchronized (EncryptionUtils.class) {
                if (sha1DigesterLegacy == null) {
                    // StandardByteDigester digister = new StandardByteDigester();
                    PooledByteDigester digister = new PooledByteDigester();
                    digister.setAlgorithm("SHA-1");
                    digister.setSaltSizeBytes(0);
                    digister.setIterations(1);
                    digister.setPoolSize(4);
                    sha1DigesterLegacy = digister;
                }
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.