Utility to calculate a hash for FsContent and store in TSK database 
Definition at line 36 of file HashUtility.java.
 
  
  
      
        
          | static String org.sleuthkit.datamodel.HashUtility.calculateMd5  | 
          ( | 
          AbstractFile  | 
          file | ) | 
           throws IOException | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static String org.sleuthkit.datamodel.HashUtility.calculateMd5Hash  | 
          ( | 
          Content  | 
          content | ) | 
           throws IOException | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static boolean org.sleuthkit.datamodel.HashUtility.isNoDataMd5  | 
          ( | 
          String  | 
          md5 | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Determine if the passed in Hash value is that for no data (i.e. an empty file). Looking these values up or correlating on them causes lots of false positives.
- Parameters
 - 
  
  
 
- Returns
 - True if it is the empty hash value 
 
Definition at line 144 of file HashUtility.java.
 
 
  
  
      
        
          | static boolean org.sleuthkit.datamodel.HashUtility.isValidMd5Hash  | 
          ( | 
          String  | 
          md5Hash | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Determines whether a string representation of an MD5 hash is valid.
- Parameters
 - 
  
  
 
- Returns
 - True or false. 
 
Definition at line 109 of file HashUtility.java.
 
 
  
  
      
        
          | static boolean org.sleuthkit.datamodel.HashUtility.isValidSha1Hash  | 
          ( | 
          String  | 
          sha1Hash | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Determines whether a string representation of a SHA-1 hash is valid.
- Parameters
 - 
  
  
 
- Returns
 - True or false. 
 
Definition at line 120 of file HashUtility.java.
 
 
  
  
      
        
          | static boolean org.sleuthkit.datamodel.HashUtility.isValidSha256Hash  | 
          ( | 
          String  | 
          sha256Hash | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Determines whether a string representation of a SHA-256 hash is valid.
- Parameters
 - 
  
  
 
- Returns
 - True or false. 
 
Definition at line 131 of file HashUtility.java.
 
 
The documentation for this class was generated from the following file:
- /home/carriersleuth/repos/sleuthkit/bindings/java/src/org/sleuthkit/datamodel/HashUtility.java