Class Hasher


  • public class Hasher
    extends java.lang.Object
    Create the hash for a given file. Currently only implements sha1 hash.
    • Constructor Summary

      Constructors 
      Constructor Description
      Hasher()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String fileHash​(java.lang.String fileName)  
      java.lang.String fileHash​(java.lang.String fileName, java.time.Instant openTimestamp)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Hasher

        public Hasher()
    • Method Detail

      • fileHash

        public java.lang.String fileHash​(java.lang.String fileName)
      • fileHash

        public java.lang.String fileHash​(java.lang.String fileName,
                                         java.time.Instant openTimestamp)