Uses of Interface
cloud.opencode.base.hash.HashFunction
Packages that use HashFunction
Package
Description
-
Uses of HashFunction in cloud.opencode.base.hash
Methods in cloud.opencode.base.hash that return HashFunctionModifier and TypeMethodDescriptionstatic HashFunctionOpenHash.adler32()Adler-32 checksum Adler-32 校验和static HashFunctionOpenHash.crc32()CRC32 CRC32static HashFunctionOpenHash.crc32c()CRC32C (Castagnoli) CRC32C (Castagnoli)static HashFunctionOpenHash.fnv1a_32()FNV-1a 32-bit FNV-1a 32位static HashFunctionOpenHash.fnv1a_64()FNV-1a 64-bit FNV-1a 64位static HashFunctionOpenHash.hmacMd5(byte[] key) HMAC-MD5 HMAC-MD5static HashFunctionOpenHash.hmacSha1(byte[] key) HMAC-SHA1 HMAC-SHA1static HashFunctionOpenHash.hmacSha256(byte[] key) HMAC-SHA256 HMAC-SHA256static HashFunctionOpenHash.hmacSha384(byte[] key) HMAC-SHA384 HMAC-SHA384static HashFunctionOpenHash.hmacSha512(byte[] key) HMAC-SHA512 HMAC-SHA512static HashFunctionOpenHash.md5()MD5 (for checksums only, not secure) MD5(仅用于校验,不安全)static HashFunctionOpenHash.murmur3_128()MurmurHash3 128-bit MurmurHash3 128位static HashFunctionOpenHash.murmur3_128(int seed) MurmurHash3 128-bit with seed 带种子的MurmurHash3 128位static HashFunctionOpenHash.murmur3_32()MurmurHash3 32-bit MurmurHash3 32位static HashFunctionOpenHash.murmur3_32(int seed) MurmurHash3 32-bit with seed 带种子的MurmurHash3 32位static HashFunctionOpenHash.sha1()SHA-1 (for checksums only, not secure) SHA-1(仅用于校验,不安全)static HashFunctionOpenHash.sha256()SHA-256 SHA-256static HashFunctionOpenHash.sha3_256()SHA3-256 SHA3-256static HashFunctionOpenHash.sha3_512()SHA3-512 SHA3-512static HashFunctionOpenHash.sha384()SHA-384 SHA-384static HashFunctionOpenHash.sha512()SHA-512 SHA-512static HashFunctionOpenHash.sipHash24()SipHash-2-4 with default key 默认密钥的 SipHash-2-4static HashFunctionOpenHash.sipHash24(long k0, long k1) SipHash-2-4 with specified key 指定密钥的 SipHash-2-4static HashFunctionOpenHash.xxHash64()xxHash 64-bit xxHash 64位static HashFunctionOpenHash.xxHash64(long seed) xxHash 64-bit with seed 带种子的xxHash 64位Methods in cloud.opencode.base.hash with parameters of type HashFunctionModifier and TypeMethodDescriptionstatic HashCodeOpenHash.hash(byte[] input, HashFunction function) Hashes a byte array 哈希字节数组static HashCodeOpenHash.hash(CharSequence input, Charset charset, HashFunction function) Hashes a string 哈希字符串 -
Uses of HashFunction in cloud.opencode.base.hash.bloom
Methods in cloud.opencode.base.hash.bloom with parameters of type HashFunctionModifier and TypeMethodDescriptionBloomFilterBuilder.hashFunction(HashFunction hashFunction) Sets the hash function 设置哈希函数CountingBloomFilter.Builder.hashFunction(HashFunction hashFunction) Sets the hash function 设置哈希函数 -
Uses of HashFunction in cloud.opencode.base.hash.consistent
Methods in cloud.opencode.base.hash.consistent with parameters of type HashFunctionModifier and TypeMethodDescriptionConsistentHashBuilder.hashFunction(HashFunction hashFunction) Sets the hash function 设置哈希函数 -
Uses of HashFunction in cloud.opencode.base.hash.function
Classes in cloud.opencode.base.hash.function that implement HashFunctionModifier and TypeClassDescriptionclassAbstract base class for hash functions 哈希函数抽象基类final classAdler-32 hash function implementation Adler-32 哈希函数实现final classCRC32 hash function implementation CRC32 哈希函数实现final classFNV-1a hash function implementation FNV-1a 哈希函数实现final classHMAC hash function implementation HMAC 哈希函数实现final classMessageDigest-based hash function implementation 基于 MessageDigest 的哈希函数实现final classMurmurHash3 hash function implementation MurmurHash3 哈希函数实现final classSipHash-2-4 hash function implementation SipHash-2-4 哈希函数实现final classxxHash64 hash function implementation xxHash64 哈希函数实现 -
Uses of HashFunction in cloud.opencode.base.hash.simhash
Methods in cloud.opencode.base.hash.simhash with parameters of type HashFunctionModifier and TypeMethodDescriptionSimHashBuilder.hashFunction(HashFunction hashFunction) Sets the hash function for token hashing 设置用于标记哈希的哈希函数