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
Default instance of
SHA256KeyHashingScheme . |
Constructor and Description |
---|
SHA256KeyHashingScheme() |
public static final SHA256KeyHashingScheme INSTANCE
SHA256KeyHashingScheme
.public String hash(String key)
KeyHashingScheme
hash
in interface KeyHashingScheme
key
- 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.