support dynamic_salt for password hash