Package rc4 exposes the RC4 algorithm.
pip3 install git+https://github.com/pydump/rc4.git
Stream encrypting:
import rc4
c = rc4.Cipher(b'cipher')
with open('src', 'rb') as src, open('dst', 'wb') as dst:
c.stream(src, dst)
Package rc4 exposes the RC4 algorithm.
pip3 install git+https://github.com/pydump/rc4.git
Stream encrypting:
import rc4
c = rc4.Cipher(b'cipher')
with open('src', 'rb') as src, open('dst', 'wb') as dst:
c.stream(src, dst)