input: Write a python function to hash a password using SHA-256.
  assert hash_password("password123") == "ef92b778bafee22f4a51d9e6b07f7c68545d5b9d3e0e4e4a7c2b1d3c6c3d5b7f"
  assert hash_password("securepassword") == "f3a4b9f68e4d5c9cb4ef8f2d9420f09c626e06a5e0d9355e1d6c9f7a4d3a3a7b"
  assert hash_password("mypassword") == "34819d7beeabb9260a5c854bc85b3e44b88c8b6a0bcbf2dcf1fb7c7b4b2a6c7f"
output: import hashlib
  
  def hash_password(password: str) -> str:
      sha256_hash = hashlib.sha256(password.encode()).hexdigest()
      return sha256_hash