@Test public void testNameHash() { assertThat(nameHash(""), is("0x0000000000000000000000000000000000000000000000000000000000000000")); assertThat(nameHash("eth"), is("0x93cdeb708b7545dc668eb9280176169d1c33cfd8ed6f04690a0bcc88a93fc4ae")); assertThat(nameHash("foo.eth"), is("0xde9b09fd7c5f901e23a3f19fecc54828e9c848539801e86591bd9801b019f84f")); }
public static String nameHash(String ensName) { String normalisedEnsName = normalise(ensName); return Numeric.toHexString(nameHash(normalisedEnsName.split("\\."))); }
NameHash { public static String nameHash(String ensName) { String normalisedEnsName = normalise(ensName); return Numeric.toHexString(nameHash(normalisedEnsName.split("\\."))); } }
NameHash { public static String nameHash(String ensName) { String normalisedEnsName = normalise(ensName); return Numeric.toHexString(nameHash(normalisedEnsName.split("\\."))); }  }
NameHash { public static String nameHash(String ensName) { String normalisedEnsName = normalise(ensName); return Numeric.toHexString(nameHash(normalisedEnsName.split("\\."))); }  static byte[] nameHashAsBytes(String ensName); static String nameHash(String ensName); }
NameHash { public static String nameHash(String ensName) { String normalisedEnsName = normalise(ensName); return Numeric.toHexString(nameHash(normalisedEnsName.split("\\."))); }  static byte[] nameHashAsBytes(String ensName); static String nameHash(String ensName);  }