Commit ed8745cd by BellCodeEditor

save project

parent 0854e5a1
Showing with 3 additions and 3 deletions
import random import random
key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
message = "诺依,周末一起去看动漫展吧!" message = "诺依,周末一起去看动漫展吧!"
print=(message)
key_message key_message
len(key_message) len(key_message)
index=random.randint(0,len(Key_message)) index=random.randint(0,len(Key_message))
...@@ -11,4 +10,5 @@ for i in message: ...@@ -11,4 +10,5 @@ for i in message:
b = random.choice(Key) b = random.choice(Key)
c = random.choice(Key) c = random.choice(Key)
l = l + a + b + c l = l + a + b + c
"message".join(l) "message".join(l)
\ No newline at end of file print(message)
\ 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