code: def info_hash(self):
          
          info = self._struct.get('info')
  
          if not info:
              return None
  
          return sha1(Bencode.encode(info)).hexdigest()
docs: Hash of torrent file info section. Also known as torrent hash.