1 def crypt(source,key): from itertools import cycle result='' temp=cycle(key) for ch in source: result=result+chr(ord(ch)^ord(next(temp))) return result source='Jiangxi Insstitute of Busiess and Technology' key='zWrite' print('Before Encrypted:'+sou…