Commit 43f126ed by BellCodeEditor

save project

parent c0748c3c
Showing with 3 additions and 11 deletions
import random import random
q="" q=""
# 私钥 # 私钥
key = "abcdefgh加密" key = "abcdefgh使用编程实现位移替换加密"
# 要加密语句 # 要加密语句()
message = input("输入") message = input("输入")
a="xkrbbbbbbbbbbb" a="xkrbbbbbbbbbbb"
# 请使用私钥key,对message进行加密 # 请使用私钥key,对message进行加密
...@@ -18,12 +18,3 @@ w.insert(random.randint(0,len(w)),a) ...@@ -18,12 +18,3 @@ w.insert(random.randint(0,len(w)),a)
print(w) print(w)
r="".join(w) r="".join(w)
print(r) print(r)
\ 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