Commit 73c3255c by BellCodeEditor

save project

parent 5743dd6c
Showing with 6 additions and 3 deletions
import random import random
noise = "£$%^$^$&%*%*%*%&$^$£$%^&^%^&FGHFBU^TGH&Y&HY&T^TG^YG"
# 私钥 # 私钥
key = "卢春泽是!" key = "卢春泽是个sb,真是太好玩了哈哈!"
# 要加密语句 # 要加密语句
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
a = "" a = ""
...@@ -12,6 +12,9 @@ for i in message: ...@@ -12,6 +12,9 @@ for i in message:
text = str1+str2+str3 text = str1+str2+str3
a =a+text a =a+text
print(a) print(a)
list_message = list(key_message)
list_messagee.insert(5,noise)
result_message = "".join(list_message)
print(result_message)
# 请使用私钥key,对message进行加密 # 请使用私钥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