def METHOD_NAME(cls, cleartext_password_or_token: str) -> str:
    """Hash method to create hash from string"""
    salt = sha256()
    salt.update(os.urandom(60))
    salt = salt.hexdigest()
    hashed = sha256()
    # Make sure password is a str because we cannot hash unicode objects
    hashed.update((cleartext_password_or_token + salt).encode("utf-8"))
    hashed = hashed.hexdigest()
    ciphertext_password = salt + hashed
    return ciphertext_password