Skip to content

Instantly share code, notes, and snippets.

with open("english.txt") as f:
x = f.read()
alltxt = x.split()
# 从1开始.
n_word = {i: alltxt[i - 1] for i in range(1, len(alltxt))}
# 换位
key = "20181002"
encrypted = "511B2033232841053022B0FE52ED0F7A165B52C7E75112F656FC4B"