com.google.common.hash.Hashing.class Maven / Gradle / Ivy
???? 4w
com/google/common/hash/Hashing checkPositiveAndMakeMultipleOf32 (I)I
-com/google/common/hash/Murmur3_32HashFunction GOOD_FAST_HASH_32 %Lcom/google/common/hash/HashFunction; .com/google/common/hash/Murmur3_128HashFunction GOOD_FAST_HASH_128 #com/google/common/hash/HashFunction GOOD_FAST_HASH_SEED IYo
?
murmur3_128 ((I)Lcom/google/common/hash/HashFunction; 7com/google/common/hash/Hashing$ConcatenatedHashFunction
! " K([Lcom/google/common/hash/HashFunction;Lcom/google/common/hash/Hashing$1;)V
$ ! % (IZ)V ' (
MURMUR3_32 * + MURMUR3_32_FIXED
- ! . (I)V 0 1 MURMUR3_128 3 4 5 6 &com/google/common/hash/SipHashFunction SIP_HASH_24
3 8 ! 9 (IIJJ)V ; < = > (com/google/common/hash/Hashing$Md5Holder MD5 @ A B C )com/google/common/hash/Hashing$Sha1Holder SHA_1 E F G H +com/google/common/hash/Hashing$Sha256Holder SHA_256 J K L M +com/google/common/hash/Hashing$Sha384Holder SHA_384 O P Q R +com/google/common/hash/Hashing$Sha512Holder SHA_512 T &com/google/common/hash/MacHashFunction V HmacMD5 X hmacMd5
Z [ \ hmacToString 9(Ljava/lang/String;Ljava/security/Key;)Ljava/lang/String;
S ^ ! _ :(Ljava/lang/String;Ljava/security/Key;Ljava/lang/String;)V a javax/crypto/spec/SecretKeySpec
c d e f g $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; i [B
` k ! l ([BLjava/lang/String;)V
n X o :(Ljava/security/Key;)Lcom/google/common/hash/HashFunction; q HmacSHA1 s hmacSha1
u s o w
HmacSHA256 y
hmacSha256
{ y o }
HmacSHA512
hmacSha512
? o ? java/lang/StringBuilder
? ? ! ? ()V ? Hashing.
? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? (Key[algorithm= ? ? ? ? ? java/security/Key getAlgorithm ()Ljava/lang/String; ? , format= ? ? ? ? getFormat ? ])
? ? ? ? toString ? ? ? ? -com/google/common/hash/Hashing$Crc32CSupplier
HASH_FUNCTION ? ? ? ? ? +com/google/common/hash/Hashing$ChecksumType CRC_32 -Lcom/google/common/hash/Hashing$ChecksumType; ? ? ? hashFunction ? ? ? ? ADLER_32 ? ? ? ? ,com/google/common/hash/FarmHashFingerprint64 FARMHASH_FINGERPRINT_64 ? ? ? ? &com/google/common/hash/Fingerprint2011 FINGERPRINT_2011
? ? ? ? ? com/google/common/hash/HashCode padToLong ()J
? ? ? consistentHash (JI)I ? buckets must be positive: %s
c ? ? ?
checkArgument (ZLjava/lang/String;I)V ? :com/google/common/hash/Hashing$LinearCongruentialGenerator
? ? ! ? (J)V
? ? ? ?
nextDouble ()D ? ? ? ? ? java/lang/Iterable iterator ()Ljava/util/Iterator; ? ? ? ? ? java/util/Iterator hasNext ()Z ? (Must be at least 1 hash code to combine.
c ? ? ? (ZLjava/lang/Object;)V ? ? ? ? next ()Ljava/lang/Object;
? ? ? ? bits ()I
? ? ? ? asBytes ()[B ? ,All hashcodes must have the same bit length.
? ? ? ? fromBytesNoCopy %([B)Lcom/google/common/hash/HashCode; ? Number of bits must be positive ? java/util/ArrayList
? ? ? ? ? ? java/util/List add (Ljava/lang/Object;)Z
java/util/Collections addAll ,(Ljava/util/Collection;[Ljava/lang/Object;)Z ?
toArray (([Ljava/lang/Object;)[Ljava/lang/Object; &[Lcom/google/common/hash/HashFunction; ? ? isEmpty )number of hash functions (%s) must be > 0 ? ? size
? java/lang/Object
? java/lang/System currentTimeMillis goodFastHash Code LineNumberTable LocalVariableTable i minimumBits hashFunctionsNeeded
hashFunctions seed
StackMapTable MethodParameters
murmur3_32
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; '()Lcom/google/common/hash/HashFunction; murmur3_32_fixed sipHash24 )(JJ)Lcom/google/common/hash/HashFunction; k0 J k1 md5 sha1 sha256 sha384 sha512 key Ljava/security/Key; )([B)Lcom/google/common/hash/HashFunction;
methodName Ljava/lang/String; crc32c crc32 adler32 farmHashFingerprint64 fingerprint2011 %(Lcom/google/common/hash/HashCode;I)I hashCode !Lcom/google/common/hash/HashCode; buckets input generator