<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def infohash(self):
 """SHA1 info hash"""

        self.validate()
        info = self.convert()[b'info']
        return sha1(bencode(info)).hexdigest()