Changed HashingAlgorithm to be sprest.util.enum.Enum