Allow to configure hashing method
From the thread [1], there could be some advantage to be able to choose the hashing method. But the default value should still use the best hashing method.
[1] https://groups.google.com/d/msgid/tryton/20160522063138.GR13326%40tetsuo