public final class SHA256KeyHashingScheme extends 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.| Modifier and Type | Field and Description |
|---|---|
static SHA256KeyHashingScheme |
INSTANCE |
| Constructor and Description |
|---|
SHA256KeyHashingScheme() |
public static final SHA256KeyHashingScheme INSTANCE
public String hash(String key)
KeyHashingSchemehash in interface KeyHashingSchemekey - what the higher-level HTTP cache wants to use
as its key for looking up cache entriesCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.