Commit c39ba4f2 by BellCodeEditor

save project

parent 18891748
Showing with 15 additions and 0 deletions
import random
key="abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
message=input("提示:请输入要加密的语句")
str_key=""
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
text=str1+str2+str3
str_key=str_key+text
list_key=list(str_key)
list_key.insert(random.randint(0,len(list_key)),"lemkwjhnxcfbhj mj bcklvnjpovjidxnuyf biodf9peu7hyrhbvxd8oeyh5iordp0tnrb8gmjx")
print("".join(list_key))
import
\ 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