| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.hash | |
| com.jn.langx.util.hash.streaming | |
| com.jn.langx.util.hash.streaming.crc | |
| com.jn.langx.util.hash.streaming.fnv | |
| com.jn.langx.util.hash.streaming.murmur |
| 构造器和说明 |
|---|
HasherChecksumAdapter(StreamingHasher hasher) |
HashingInputStream(StreamingHasher hasher,
InputStream in)
Creates an input stream that hashes using the given
StreamingHasher and delegates all data
read from it to the underlying InputStream. |
HashingOutputStream(StreamingHasher hasher,
OutputStream out)
Creates an output stream that hashes using the given
StreamingHasher, and forwards all
data written to it to the underlying OutputStream. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractStreamingHasher |
class |
Adler32Hasher |
class |
AdvancedStreamingHasher
A convenience base class for implementors of
Hasher; handles accumulating data until an
entire "chunk" (of implementation-dependent length) is ready to be hashed. |
class |
ChecksumHasher |
class |
HMacHasher |
class |
JenkinsHasher
Produces 32-bit hash for hash table lookup.
|
class |
MessageDigestHasher |
| 限定符和类型 | 方法和说明 |
|---|---|
static StreamingHasher |
JenkinsHasher.getInstance() |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CrcHasher |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Fnv1_32Hasher |
class |
Fnv1_64Hasher |
class |
Fnv1a_32Hasher
Hash function FNV-1a (http://www.isthe.com/chongo/tech/comp/fnv).
|
class |
Fnv1a_64Hasher
Hash function FNV-1a (http://www.isthe.com/chongo/tech/comp/fnv).
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
Murmur2Hasher
This is a very fast, non-cryptographic hash suitable for general hash-based
lookup.
|
class |
Murmur3_128Hasher |
class |
Murmur3_32Hasher |
| 限定符和类型 | 方法和说明 |
|---|---|
static StreamingHasher |
Murmur2Hasher.getInstance() |
Copyright © 2022. All rights reserved.