public class Hash
extends java.lang.Object
| Constructor and Description |
|---|
Hash(byte[] bytes) |
Hash(java.lang.String string) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
byteHash(byte[] data,
byte[] hash) |
boolean |
equals(java.lang.Object o) |
void |
hash(byte[] bytes) |
void |
hash(java.lang.String string) |
int |
hashCode() |
static int |
intHash(byte[] data) |
static int |
intHash(byte[] data,
byte[] hash) |
static int |
intHash(byte[] data,
int key) |
static long |
longHash(byte[] data) |
static long |
longHash(byte[] data,
byte[] hash) |
static long |
longHash(byte[] data,
long key) |
long |
longHashCode() |
static void |
main(java.lang.String[] args) |
java.lang.String |
toString() |
static java.lang.String |
toString(int hash) |
static java.lang.String |
toString(long hash) |
public static int intHash(byte[] data,
int key)
public static int intHash(byte[] data)
public static int intHash(byte[] data,
byte[] hash)
public static long longHash(byte[] data,
long key)
public static long longHash(byte[] data)
public static long longHash(byte[] data,
byte[] hash)
public static byte[] byteHash(byte[] data,
byte[] hash)
public static java.lang.String toString(int hash)
public static java.lang.String toString(long hash)
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic long longHashCode()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic void hash(byte[] bytes)
public void hash(java.lang.String string)
Copyright © 2015. All Rights Reserved.