Commit 936268d0 by BellCodeEditor

save project

parent d223b699
Showing with 23 additions and 0 deletions
import random
# 私钥
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句,
ss="放大,三个地方,双方和解,额外的好处经,济丰,富内涵v面,具人的,官方"
message = "诺依,周末一起去看动漫展吧!"
key_message=""
# 请使
for i in range(len(message)):
a=message[i]
str1=random.choice(key)
str2=random.choice(key)
str3=a+str1+str2
key_message=key_message+str3
#print(key_message)
b=list(key_message)
#print(b)
b.insert(6,ss)
#print(b)
bb="".join(b)
print(bb)
\ 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