Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
You need to sign in or sign up before continuing.
Commit
aa38acfe
authored
Oct 10, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
14cc05db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
17 deletions
diy4.py
diy4.py
View file @
aa38acfe
...
@@ -3,24 +3,25 @@ import random
...
@@ -3,24 +3,25 @@ import random
# 私钥
# 私钥
key
=
"abcdeafgb傻姑很类似于活该u以后嘎哈韩国可咋开两个号克拉公馆克拉夫后来还是离开"
key
=
"abcdeafgb傻姑很类似于活该u以后嘎哈韩国可咋开两个号克拉公馆克拉夫后来还是离开"
# 要加密语句
# 要加密语句
message
=
"诺依,周末一起去看动漫展吧!"
message
=
input
(
"What do you want to say?"
)
# 请使用私钥key,对message进行加密
# 请使用私钥key,对message进行加密
KRY
=
""
KRY
=
""
for
i
in
message
:
while
True
:
s1
=
i
for
i
in
message
:
s2
=
random
.
choice
(
key
)
s1
=
i
s3
=
random
.
choice
(
key
)
s2
=
random
.
choice
(
key
)
SB
=
s1
+
s2
+
s3
s3
=
random
.
choice
(
key
)
KRY
=
KRY
+
SB
SB
=
s1
+
s2
+
s3
x
=
list
(
KRY
)
KRY
=
KRY
+
SB
z
=
random
.
randint
(
0
,
len
(
KRY
))
x
=
list
(
KRY
)
x
.
insert
(
z
,
"asfgzLglfgl.g"
)
z
=
random
.
randint
(
0
,
len
(
KRY
))
x
.
insert
(
z
,
"hskghGSDkgha"
)
x
.
insert
(
z
,
"你看发到这里的;就"
)
x
.
insert
(
z
,
"fhvcklgzhlfihg"
)
x
.
insert
(
z
,
"什么v爸妈觉得不是v;"
)
x
.
insert
(
z
,
"l/.kzcvbl;fdj;"
)
x
.
insert
(
z
,
"X,那那段时光吧,看见发红包;"
)
y
=
""
.
join
(
x
)
x
.
insert
(
z
,
"好,付款就是吃饭了;"
)
print
(
y
)
x
.
insert
(
z
,
";镂空发光的;顺龙控股; "
)
x
.
insert
(
z
,
"X,他;好看; ;"
)
y
=
""
.
join
(
x
)
print
(
y
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment