public final class Hash extends Object
| Constructor and Description |
|---|
Hash() |
Hash(byte[] b) |
Hash(byte[] b,
int off,
int len) |
Hash(ByteBuffer bb) |
Hash(char c) |
Hash(double d) |
Hash(float f) |
Hash(int i) |
Hash(long l) |
Hash(short s) |
Hash(String s) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Hash |
finish() |
byte[] |
getBytes() |
int |
hashCode() |
void |
reset() |
String |
toHexString() |
String |
toString() |
Hash |
update(byte b) |
Hash |
update(byte[] b) |
Hash |
update(byte[] b,
int off,
int len) |
Hash |
update(ByteBuffer bb) |
Hash |
update(char c) |
Hash |
update(double d) |
Hash |
update(float f) |
Hash |
update(int i) |
Hash |
update(long l) |
Hash |
update(short s) |
Hash |
update(String s) |
public Hash()
public Hash(byte[] b)
public Hash(byte[] b,
int off,
int len)
public Hash(ByteBuffer bb)
public Hash(String s)
public Hash(char c)
public Hash(short s)
public Hash(int i)
public Hash(long l)
public Hash(float f)
public Hash(double d)
public Hash update(byte b)
public Hash update(byte[] b)
public Hash update(byte[] b, int off, int len)
public Hash update(ByteBuffer bb)
public Hash update(short s)
public Hash update(char c)
public Hash update(int i)
public Hash update(long l)
public Hash update(float f)
public Hash update(double d)
public Hash finish()
public void reset()
public byte[] getBytes()
public String toHexString()
Copyright © 2019. All rights reserved.