public class Hash extends Object
| Constructor and Description |
|---|
Hash() |
| Modifier and Type | Method and Description |
|---|---|
static void |
load() |
static byte[] |
sha3(byte[] input) |
static byte[] |
sha3(byte[] input1,
byte[] input2) |
static byte[] |
sha3(byte[] input,
int start,
int length)
hashing chunk of the data
|
static String |
sha3(String hexInput)
Keccak-256 hash function.
|
static byte[] |
sha3omit12(byte[] input,
byte prefixByte)
Calculates RIGTMOST160(SHA3(input)).
|
static byte[] |
sha512(byte[] input) |
public static void load()
public static byte[] sha3(byte[] input)
public static String sha3(String hexInput)
hexInput - hex encoded input data with optional 0x prefixpublic static byte[] sha3(byte[] input1,
byte[] input2)
public static byte[] sha3(byte[] input,
int start,
int length)
input - - data for hashstart - - start of hashing chunklength - - length of hashing chunkpublic static byte[] sha512(byte[] input)
public static byte[] sha3omit12(byte[] input,
byte prefixByte)
input - - dataCopyright © 2020. All rights reserved.