Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_6
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
68c62821
authored
Apr 14, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
5d796ab7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
diy4.py
diy4.py
View file @
68c62821
import
random
b
=
""
key
=
"abeh使用杀马特实现位移替换加密,真是太nt了!"
message
=
"马,去看漫展吧!cos太馋了呜呜呜呜"
message
=
input
(
"请输入需要nt的内容吧!保证乱到加密者都看不懂:"
)
for
i
in
message
:
str1
=
i
str2
=
random
.
choice
(
key
)
...
...
@@ -9,6 +10,6 @@ for i in message:
b
=
b
+
a
c
=
"我是梁志超他奶奶,大傻*。"
b
=
list
(
b
)
b
.
insert
(
4
,
c
)
b
=
""
,
join
(
b
)
b
.
insert
(
random
.
randint
(
0
,
len
(
key
))
,
c
)
b
=
""
.
join
(
b
)
print
(
b
)
\ No newline at end of file
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