Package info.riemannhypothesis.crypto.tools

Examples of info.riemannhypothesis.crypto.tools.VideoHash


    File file = new File(path);

    FileInputStream fileInputStream = new FileInputStream(file);

    BlockSequence blocks = new BlockSequence(1024, fileInputStream, (int) file.length());
    VideoHash videoHash = new VideoHash();

    // System.out.println("Beginning of the file: " +
    // bytes.toHexString().substring(0, 100));
    System.out.println("Hash: " + videoHash.hash(blocks).toHexString());
    fileInputStream.close();
  }
View Full Code Here

TOP

Related Classes of info.riemannhypothesis.crypto.tools.VideoHash

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.