modify hash algorithm