public class NulsHash extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static NulsHash |
EMPTY_NULS_HASH |
static int |
HASH_LENGTH |
| 限定符和类型 | 方法和说明 |
|---|---|
static NulsHash |
calcHash(BaseNulsData data) |
static NulsHash |
calcHash(byte[] data) |
static NulsHash |
calcMerkleHash(List<NulsHash> hashList) |
boolean |
equals(Object obj) |
static NulsHash |
fromHex(String hex) |
byte[] |
getBytes() |
int |
hashCode() |
boolean |
isBlank() |
void |
parse(NulsByteBuffer buffer) |
String |
toHex() |
String |
toString() |
static boolean |
validHash(String hex) |
boolean |
verify() |
public static final NulsHash EMPTY_NULS_HASH
public static final int HASH_LENGTH
public void parse(NulsByteBuffer buffer) throws NulsException
NulsExceptionpublic String toHex()
public static boolean validHash(String hex)
public boolean verify()
public static NulsHash calcHash(BaseNulsData data)
public byte[] getBytes()
public static NulsHash calcHash(byte[] data)
public boolean isBlank()
Copyright © 2021. All rights reserved.