Interface BinaryHashingService
- All Known Implementing Classes:
Sha256HashingService
public interface BinaryHashingService
Hashing strategy that defines which algorithm and encoding are used to hash binaries.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.hash.HashCodefromString(String hash) converts a hash from its string representation to aHashCodeobjectcom.google.common.hash.HashFunction
-
Method Details
-
hashFunction
com.google.common.hash.HashFunction hashFunction()- Returns:
- hash algorithm to be used
-
fromString
converts a hash from its string representation to aHashCodeobject- Parameters:
hash- string representation- Returns:
- a
HashCodeinstance
-
getStringGenerator
BinaryHashingService.ToStringGenerator getStringGenerator()
-