Commit ba2b744e by BellCodeEditor

save project

parent cf6baa48
Showing with 17 additions and 0 deletions
import random
key="v但是运算符vu苏测设u粗输入速度纯粹是;撒"
key2="853884338279fhusussscscbcb"
am=input("请输入你要加密的语句")
list_tosd=[]
toxt1=""
for i in am:
str1=i
str2=random.choice(key)
str3=random.choice(key)
toxt=str1+str2+str3
toxt1=toxt1+toxt
list_toxt1=list(toxt1)
list_toxt1.insert(random.randint(0,len(list_toxt1)-1),key2)
toxt1="".join(list_toxt1)
print(toxt1)
\ No newline at end of file
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