Parametrized hasher

Add a parametrized hasher in order to get any hash algorithm available in the system.