-
- Enclosing class:
- DiskStore
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface DiskStore.HasherA function that computes an 80-bit hash from a string key.
-
-
Field Summary
Fields Modifier and Type Field Description static DiskStore.HasherTRUNCATED_SHA_256A Hasher returning the first 80 bits of the SHA-256 of the key's UTF-8 encoded bytes.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DiskStore.Hashhash(java.lang.String key)
-
-
-
Field Detail
-
TRUNCATED_SHA_256
static final DiskStore.Hasher TRUNCATED_SHA_256
A Hasher returning the first 80 bits of the SHA-256 of the key's UTF-8 encoded bytes.
-
-
Method Detail
-
hash
DiskStore.Hash hash(java.lang.String key)
-
-