Introduces HashGenerator class that can be used to register and use different hash algorithms. It supports  all PHP core hash algorithms by default, but you can register custom ones