HTMLify

encrypt_xor_cipher.py
Views: 110 | Author: abh
def encrypt_xor_cipher(text, key):
    cipher = ""
    for char in text:
        cipher += chr(ord(char) ^ key)
    return cipher

Comments