Definition at line 5 of file rc4_ex.py.
6 print(
"Using the Number Theory module in Python")
8 "Methods of the RC4 class:\n\
14 - KSA(key, S, swap_type)\n\
15 : Key Swap Algorithm\n\
16 - PRGA(S, plaintext, ciphertext, swap_type)\n\
17 : Pseudo-Random Generation Algorithm\n\
19 - store_hash(plaintext, hashtext, swap_type)\n\
20 : stores hash to a value\n\
21 - compute(key, plaintext, hashtext, swap_type)\n\
22 : driver for RC4 algorithm\n"