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
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.hash.HashCode
fromString
(String hash) converts a hash from its string representation to aHashCode
objectcom.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 aHashCode
object- Parameters:
hash
- string representation- Returns:
- a
HashCode
instance
-
getStringGenerator
BinaryHashingService.ToStringGenerator getStringGenerator()
-