Commit ed43fe3b by BellCodeEditor

auto save

parent 3101ceac
Showing with 29 additions and 0 deletions
import random
# 私钥
key = "abcdefgh使用编程2dsac实现位移21替换加密,制作密码机关真是太好玩了哈哈!"
# 要加密语句
message =input("输入:")
key1=""
# 请使用私钥key,对message进行加密
for i in message:
a=i
b=random.choice(key)
c=random.choice(key)
d=a+b+c
e=list(d)
key2=list(key1)
key3=key2.extend(d)
key4="".join(key2)
print(key4)
a="port293@$234erwf"
b=list(key4)
shui=random.randint(1,len(b))
b.insert(shui,a)
c="".join(b)
print(c)
\ No newline at end of file
list=["1","2"]
list.extend("aa")
print(list)
\ 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