public class Hash
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
sha3(byte[] input) |
static byte[] |
sha3(byte[] input,
int offset,
int length)
Keccak-256 hash function
|
static java.lang.String |
sha3(java.lang.String hexInput)
Keccak-256 hash function
|
public static java.lang.String sha3(java.lang.String hexInput)
hexInput - hex encoded input data with optional 0x prefixpublic static byte[] sha3(byte[] input,
int offset,
int length)
input - binary encoded input dataoffset - of start of datalength - of datapublic static byte[] sha3(byte[] input)