public class Hash512 extends SimpleDataStructure
Common uses in I2P include:
| Modifier and Type | Field and Description |
|---|---|
static int |
HASH_LENGTH |
_data| Modifier and Type | Method and Description |
|---|---|
int |
length()
The legal length of the byte array in this data structure
|
calculateHash, equals, fromBase64, fromByteArray, getData, hashCode, read, readBytes, setData, toBase64, toByteArray, toString, writeBytespublic static final int HASH_LENGTH
public Hash512()
public Hash512(byte[] data)
IllegalArgumentException - if data is not correct length (null is ok)public int length()
SimpleDataStructurelength in class SimpleDataStructure