@Test public void testDigest() { assertEquals("tpUq/4Pn5A64fVZyQ0gOJ8ZWqkY=", digest("user", "password")); }
public static String digest(final String user, final String password) { return Base64.toBase64String(Hash.sha1digest( String.format("%s:%s", user, password).getBytes())); }
ZooKeeperAclProviders { public static String digest(final String user, final String password) { return Base64.toBase64String(Hash.sha1digest( String.format("%s:%s", user, password).getBytes())); } }
ZooKeeperAclProviders { public static String digest(final String user, final String password) { return Base64.toBase64String(Hash.sha1digest( String.format("%s:%s", user, password).getBytes())); }  }
ZooKeeperAclProviders { public static String digest(final String user, final String password) { return Base64.toBase64String(Hash.sha1digest( String.format("%s:%s", user, password).getBytes())); }  static String digest(final String user, final String password); static ACLProvider heliosAclProvider(final String masterUser, final String masterDigest,
                                              final String agentUser, final String agentDigest); }
ZooKeeperAclProviders { public static String digest(final String user, final String password) { return Base64.toBase64String(Hash.sha1digest( String.format("%s:%s", user, password).getBytes())); }  static String digest(final String user, final String password); static ACLProvider heliosAclProvider(final String masterUser, final String masterDigest,
                                              final String agentUser, final String agentDigest);  }