input: Write a python function to hash a password and verify it.
  assert verify_password('password123', hash_password('password123'))==True
  assert verify_password('password123', hash_password('wrongpassword'))==False
  assert verify_password('differentpassword', hash_password('differentpassword'))==True
output: import hashlib
  import hmac
  
  def hash_password(password: str) -> str:
      salt = "somesalt"  # In a real application, use a unique salt per user stored alongside the hash
      return hmac.new(salt.encode(), password.encode(), hashlib.sha256).hexdigest()
  
  def verify_password(password: str, hashed: str) -> bool:
      return hash_password(password) == hashed