Commit 332105f3 by BellCodeEditor

auto save

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