@Test public void testSha3String() { assertThat(Hash.sha3String(""), is("0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470")); assertThat(Hash.sha3String("EVWithdraw(address,uint256,bytes32)"), is("0x953d0c27f84a9649b0e121099ffa9aeb7ed83e65eaed41d3627f895790c72d41")); }
public static String sha3String(String utf8String) { return Numeric.toHexString(sha3(utf8String.getBytes(StandardCharsets.UTF_8))); }
Hash { public static String sha3String(String utf8String) { return Numeric.toHexString(sha3(utf8String.getBytes(StandardCharsets.UTF_8))); } }
Hash { public static String sha3String(String utf8String) { return Numeric.toHexString(sha3(utf8String.getBytes(StandardCharsets.UTF_8))); } private  Hash(); }
Hash { public static String sha3String(String utf8String) { return Numeric.toHexString(sha3(utf8String.getBytes(StandardCharsets.UTF_8))); } 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 sha3String(String utf8String) { return Numeric.toHexString(sha3(utf8String.getBytes(StandardCharsets.UTF_8))); } 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);  }