crsandu icon

Untitled

crsandu | PRO | 11/16/18 08:32:00 PM UTC | 0 ⭐ | 344 👁️ | Never ⏰ | []
Python |

160 B

|

None

|

0 👍

/

0 👎

def encrypt(msg, p):
    newmsg = []
 
    for I in range(0, 17):
        p = random.randint(1, 256)
        data = ord(msg[I]) ^ p
        newmsg.append(data)
 
    return str(newmsg)

Comments