Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_7
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
Commit
9dce5a6b
authored
Feb 24, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
8419aee5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
diy.py
diy.py
View file @
9dce5a6b
import
random
import
random
a
=
0
a
=
0
b
=
0
b
=
0
key
=
"faedrbjgf
sdjfjhefwhgsdtfuay
dfgubcsfhtujsfduycjh"
key
=
"faedrbjgf
阿斯弗sdjfjhefwhg故事的3sdtfuay萨尔大哥
dfgubcsfhtujsfduycjh"
message
=
input
(
"请输入要加密的密文:"
)
message
=
input
(
"请输入要加密的密文:"
)
for
i
in
message
:
for
i
in
message
:
str1
=
i
str1
=
i
...
@@ -10,7 +10,7 @@ for i in message:
...
@@ -10,7 +10,7 @@ for i in message:
str4
=
random
.
choice
(
key
)
str4
=
random
.
choice
(
key
)
t
=
str1
+
str2
+
str3
+
str4
t
=
str1
+
str2
+
str3
+
str4
a
=
str
(
a
)
+
t
a
=
str
(
a
)
+
t
key2
=
"edhfs
cbhxcmnsdfnfxmndy8ewyujy
rdhiesgideiwdvgvvd"
key2
=
"edhfs
的感受cbhxcmnsdfnf都很健康xmndy8ewyujy湖人队
rdhiesgideiwdvgvvd"
x
=
list
(
a
)
x
=
list
(
a
)
x
.
insert
(
b
,
key2
)
x
.
insert
(
b
,
key2
)
a
=
""
.
join
(
x
)
a
=
""
.
join
(
x
)
...
...
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