From d44b8199cf9e303a3df3bb0dd0f4e8739a37398e Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Fri, 16 Apr 2021 18:55:26 +0800
Subject: [PATCH] save project

---
 diy4.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 diy4.py

diff --git a/diy4.py b/diy4.py
new file mode 100644
index 0000000..5f5365e
--- /dev/null
+++ b/diy4.py
@@ -0,0 +1,14 @@
+import random
+
+# 私钥
+key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!"
+# 要加密语句
+message = "诺依,周末一起去看动漫展吧!"
+t=""
+# 请使用私钥key,对message进行加密
+for i in message:
+    q=random.choice(key)
+    w=random.choice(key)
+    e=i+q+w
+    t=t+e
+print(t)   
--
libgit2 0.25.0