Package org.apache.sshd.common.digest

Examples of org.apache.sshd.common.digest.SHA384$Factory


    public static Digest getDigestForParams(ECParameterSpec params) {
        int size = getCurveSize(params);
        if (size <= 256) {
            return new SHA256();
        } else if (size <= 384) {
            return new SHA384();
        } else {
            return new SHA512();
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.sshd.common.digest.SHA384$Factory

Copyright © 2018 www.massapicom. 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.