Commit 194798d8 by BellCodeEditor

save project

parent d223b699
Showing with 24 additions and 0 deletions
import random
# 私钥
key = "a's'de'w'q'f'g'h'y't'r'j'k'lo'iu'p'm'n'basdewqfghytrjkloiupmnb"
# 要加密语句
message = "解密的是傻逼"
str1 = ""
str2 = ""
str3 =""
chi=""
noise = "2wefje2ifje20ojf"
for i in message:
str1 = i
str2 = random.choice(key)
str3 = random.choice(key)
chi +=str1 + str2 + str3
list_chi = list(chi)
list_chi.insert(random.randint(0,len(list_chi)-1),noise)
result = "".join(list_chi)
print(result)
# 请使用私钥key,对message进行加密
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment