code: def genhash(self, package, code):
          
          return hex(checksum(
              hash_sep.join(
                  str(item) for item in (VERSION_STR,)
                  + self.__reduce__()[1]
                  + (package, code)
              ).encode(default_encoding),
          ))
docs: Generate a hash from code.