

def xor(self, irc, msg, args, password, text):
    '<password> <text>\n\n        Returns <text> XOR-encrypted with <password>.  See\n        http://www.yoe.org/developer/xor.html for information about XOR\n        encryption.\n        '
    chars = utils.iter.cycle(password)
    ret = [chr((ord(c) ^ ord(next(chars)))) for c in text]
    irc.reply(''.join(ret))

dataset/ETHPy150Open ProgVal/Limnoria/plugins/String/plugin.py String.xor/original