def encode(self, key):
        salt = self.salt or os.urandom(32).encode('base64').rstrip()
        return self.encode_w_salt(salt, key)
Generate code for this target, updating the sets .created_packages and
dataset/ETHPy150Open openstack/swauth/swauth/authtypes.py/Sha512.encode--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/backend/python/code_generator.py/CodeGenerator.generate