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
Commit
936e3abb
authored
Oct 15, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
14808630
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
27 deletions
diy4.py
diy4.py
View file @
936e3abb
import
random
dict_hero
=
{
'一'
:
10
,
'三'
:
12
}
print
(
dict_hero
)
# 私钥
\ No newline at end of file
key
=
"abcdeafgb傻姑很类似于活该u以后嘎哈韩国可咋开两个号克拉公馆克拉夫后来还是离开"
# 要加密语句
message
=
input
(
"What do you want to say?"
)
# 请使用私钥key,对message进行加密
KRY
=
""
while
True
:
for
i
in
message
:
s1
=
i
s2
=
random
.
choice
(
key
)
s3
=
random
.
choice
(
key
)
SB
=
s1
+
s2
+
s3
KRY
=
KRY
+
SB
x
=
list
(
KRY
)
z
=
random
.
randint
(
0
,
len
(
KRY
))
x
.
insert
(
z
,
"你看发到这里的;就"
)
x
.
insert
(
z
,
"什么v爸妈觉得不是v;"
)
x
.
insert
(
z
,
"X,那那段时光吧,看见发红包;"
)
x
.
insert
(
z
,
"好,付款就是吃饭了;"
)
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