public static synchronized HashAlgorithm lookupHashAlgorithm(String name) {
    validateName(name);
    return REGISTRY.get(name.toLowerCase());
  }
Tries to find selected hash algorithm using name provided.

<p>
Note, that lookup is being performed using name's lower-case value

@param name the algorithm name to be used for lookup
@return a {@link HashAlgorithm} instance or <code>null</code> if there's no
        algorithm with the specified name
src/main/java/net/spy/memcached/HashAlgorithmRegistry.java