Package fr.jayasoft.commons.security

Examples of fr.jayasoft.commons.security.ChecksumProvider


    public static void main(String[] args) {
        File testDir = new File("test/files");
        String[] algos = new String[] {"fastmd5", "MD5", "SHA-1"};
       
        for (int i = 0; i < algos.length; i++) {
            ChecksumProvider p = getChecksumProvider(algos[i]);
            File[] files = testDir.listFiles();
            BenchResult benchResult = new BenchResult(algos[i]);
            for (int j = 0; j < files.length; j++) {
                for (int k=0; k<10; k++) {
                    if (!files[j].isDirectory()) {
View Full Code Here

TOP

Related Classes of fr.jayasoft.commons.security.ChecksumProvider

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.