def gluechops(chops, key, n, funcref):
 message = ''
 chops = unpicklechops(chops)
 for cpart in chops:
  mpart = funcref(cpart, key, n)
  message += int2bytes(mpart)
 return message

def gluechops ( chops , key , n , funcref ) : message = '' chops = unpicklechops ( chops ) for cpart in chops : mpart = funcref ( cpart , key , n ) message += int2bytes ( mpart ) return message
glues chops back together into a string .