Skip to content

Instantly share code, notes, and snippets.

View hsauers5's full-sized avatar

Harry Sauers hsauers5

View GitHub Profile
@hsauers5
hsauers5 / rc4.py
Created November 30, 2020 18:18
Implementation of RC4 cipher in Python.
# Harry Sauers
# rc4.py
# demo of RC4 encryption algorithm
def key_scheduling(key):
sched = [i for i in range(0, 256)]
i = 0
for j in range(0, 256):