Commit 332105f3 by BellCodeEditor

auto save

parent 258ce307
Showing with 4 additions and 7 deletions
import random text = "周末一起去欢乐谷吧!"
Li_text = list(text)
key = "信息加密好酷呀!" print(Li_text)
str = random.choice(key) \ No newline at end of file
print(str)
\ No newline at end of file
...@@ -5,7 +5,6 @@ key = "abcdefgh使用编程实现ä½ç§»æ›¿æ¢åŠ å¯†ï¼Œåˆ¶ä½œå¯†ç æœºå…³çœŸæ˜¯å¤ ...@@ -5,7 +5,6 @@ key = "abcdefgh使用编程实现ä½ç§»æ›¿æ¢åŠ å¯†ï¼Œåˆ¶ä½œå¯†ç æœºå…³çœŸæ˜¯å¤
# 要加密语句 # 要加密语句
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
key_message = " " key_message = " "
# 请使用私钥key,对message进行加密
for i in message: for i in message:
str1 = random.choice(key) str1 = random.choice(key)
str2 = i str2 = i
......
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