seed| 构造器和说明 |
|---|
AbstractNonStreamingHasher() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract long |
doFinal(byte[] bytes,
int off,
int len) |
long |
hash(byte[] bytes,
int length,
long seed)
一次性计算 hash
Calculate a hash using bytes from 0 to
length, and
the provided seed value |
createInstance, get, getName, hash, hash, setSeedpublic long hash(byte[] bytes,
int length,
long seed)
AbstractHasher
Calculate a hash using bytes from 0 to length, and
the provided seed value
hash 在接口中 Hasherhash 在类中 AbstractHasherbytes - input byteslength - length of the valid bytes to considerseed - seed valueprotected abstract long doFinal(byte[] bytes,
int off,
int len)
Copyright © 2022. All rights reserved.