Make the hash algorithm configurable per DB