Python中实现的RC4算法

2019-10-05 08:43:45丽君

测试:

string = '我在这里呢,你在那里呢'
print(string)
str = rc4(string,'encode')
print(str)
rc = rc4(str,'decode')
print(rc)