Commit c90fc114 by BellCodeEditor

save project

parent 0aeb617f
Showing with 11 additions and 7 deletions
......@@ -6,11 +6,14 @@ key = "abcdefgh使用编程实现ä½ç§»æ›¿æ¢åŠ å¯†ï¼Œåˆ¶ä½œå¯†ç æœºå…³çœŸæ˜¯å¤
message = "诺依,周末一起去看动漫展吧!"
str0=""
# 请使用私钥key,对message进行加密
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
str=str1+str2+str3
str0=str0+str
print(str0)
# for i in message:
# str1=i
# str2=random.choice(key)
# str3=random.choice(key)
# str=str1+str2+str3
# str0=str0+str
# print(str0)
message1=list(message)
message1.insert(5,"port:@#$%^&")
print("".join(message1))
\ 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