@Test public void testSha3HashHex() { assertThat(Hash.sha3(""), is("0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470")); assertThat(Hash.sha3("68656c6c6f20776f726c64"), is("0x47173285a8d7341e5e972fc677286384f802f8ef42a5ec5f03bbfa254cb01fad")); }
public static String sha3(String hexInput) { byte[] bytes = Numeric.hexStringToByteArray(hexInput); byte[] result = sha3(bytes); return Numeric.toHexString(result); }
Hash { public static String sha3(String hexInput) { byte[] bytes = Numeric.hexStringToByteArray(hexInput); byte[] result = sha3(bytes); return Numeric.toHexString(result); } }
Hash { public static String sha3(String hexInput) { byte[] bytes = Numeric.hexStringToByteArray(hexInput); byte[] result = sha3(bytes); return Numeric.toHexString(result); } private  Hash(); }
Hash { public static String sha3(String hexInput) { byte[] bytes = Numeric.hexStringToByteArray(hexInput); byte[] result = sha3(bytes); return Numeric.toHexString(result); } private  Hash(); static String sha3(String hexInput); static byte[] sha3(byte[] input, int offset, int length); static byte[] sha3(byte[] input); static String sha3String(String utf8String); static byte[] sha256(byte[] input); }
Hash { public static String sha3(String hexInput) { byte[] bytes = Numeric.hexStringToByteArray(hexInput); byte[] result = sha3(bytes); return Numeric.toHexString(result); } private  Hash(); static String sha3(String hexInput); static byte[] sha3(byte[] input, int offset, int length); static byte[] sha3(byte[] input); static String sha3String(String utf8String); static byte[] sha256(byte[] input);  }