enable customise hash algorithm