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
cff042fb
authored
Sep 07, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
d223b699
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
diy4.py
diy4.py
0 → 100644
View file @
cff042fb
import
random
# 私钥
key
=
"暗反应嘎也爱哥啊发给观察观察观察各个吃饭饭hihi很快就客户当然得干干净净还有多少的就很烦公分的地方形成更好看就看地方法院根据韩国的发生的的国际化发鬼地方发货很快将尽快给换个地方泛海国际改价格换个地方多付付或军军扩或或付多过错过错付付或过军过过过过或过或付过多过过或广寒宫海港城过他的风格小方法都发到付大哥大哥发的方法对方"
# 要加密语句
message
=
"诺依,周末一起去看动漫展吧!"
# 请使用私钥key,对message进行加密
for
i
in
range
(
len
(
message
)):
sb1
=
message
[
i
]
sb2
=
random
.
choice
(
key
)
sb3
=
random
.
choice
(
key
)
lihaoa
=
sb1
+
sb2
+
sb3
lihao
=
lihao
+
lihaoa
a
=
list
(
lihao
)
a
.
insert
(
5
,
key
)
b
=
''
.
join
(
a
)
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