public class SHA256KeyHashingScheme extends java.lang.Object implements KeyHashingScheme
KeyHashingScheme based on the
SHA-256
algorithm. The hashes produced are hex-encoded SHA-256
digests and hence are always 64-character hexadecimal
strings.| Constructor and Description |
|---|
SHA256KeyHashingScheme() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
hash(java.lang.String key)
Maps a storage key to a cache key.
|
public java.lang.String hash(java.lang.String key)
KeyHashingSchemehash in interface KeyHashingSchemekey - what the higher-level HTTP cache wants to use
as its key for looking up cache entries