Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 303 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 303 Bytes

Package rc4

Package rc4 exposes the RC4 algorithm.

pip3 install git+https://github.com/pydump/rc4.git

Examples

Stream encrypting:

import rc4

c = rc4.Cipher(b'cipher')
with open('src', 'rb') as src, open('dst', 'wb') as dst:
    c.stream(src, dst)