Package org.fairdatapipeline.hash
Class Hasher
- java.lang.Object
-
- org.fairdatapipeline.hash.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)
-