<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_name(cls, name):

 """Create an author by name, automatically populating the hash."""

        return Author(name=name, sha512=cls.hash_name(name))