diff --git a/diy4.py b/diy4.py new file mode 100644 index 0000000..3f13036 --- /dev/null +++ b/diy4.py @@ -0,0 +1,18 @@ +import random + +# 私钥 +key = "abcdefgh使用编程实现位移替换加密,制作密码机关真是太好玩了哈哈!" +# 要加密语句 +message = input("1234566767878:") +noise = "port:@!@!@#$#@$%$%^%U&^P))(*^$%)" +# 请使用私钥key,对me +for i in message: + str1 = random.choice(key) + str2 = random.choice(key) + str3 = i + text = str1 + str2 + str3 + key_message += text + + +list_message = list(key_message) +index = random \ No newline at end of file