@Test public void sha1ForNodeId() { String output = NodeIdEncoding.sha1ForNodeId(NODE_ID); assertThat(output, equalTo(SHA1)); }
public static String sha1ForNodeId(final String input) { checkNotNull(input); return input.replaceAll("-", ""); }
NodeIdEncoding { public static String sha1ForNodeId(final String input) { checkNotNull(input); return input.replaceAll("-", ""); } }
NodeIdEncoding { public static String sha1ForNodeId(final String input) { checkNotNull(input); return input.replaceAll("-", ""); } private  NodeIdEncoding(); }
NodeIdEncoding { public static String sha1ForNodeId(final String input) { checkNotNull(input); return input.replaceAll("-", ""); } private  NodeIdEncoding(); static String nodeIdForSha1(final String input); static String sha1ForNodeId(final String input); static String nodeIdForCertificate(final Certificate cert); static String nodeIdForFingerprint(final String fingerprint); }
NodeIdEncoding { public static String sha1ForNodeId(final String input) { checkNotNull(input); return input.replaceAll("-", ""); } private  NodeIdEncoding(); static String nodeIdForSha1(final String input); static String sha1ForNodeId(final String input); static String nodeIdForCertificate(final Certificate cert); static String nodeIdForFingerprint(final String fingerprint);  }