The hash function uses accountName as the salt value. This ensures each account has a unique salt, preventing rainbow table attacks even if two users have the same password. A constant salt would be ineffective, and using the password itself as salt would defeat the purpose.