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
e3494484
authored
Jan 01, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
e3160ea5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
diy4.py
diy4.py
0 → 100644
View file @
e3494484
import
random
# 私钥
key
=
"f电热板有的是用546有俄国uj二爷完善个人他gのh6的菊花v吉萨大覅 有额uueg肤感染儿胡同 au5 如同一个会让他二有u6 7545 一天如果#人$ 发帖合同热热 田野让她的身体公司^通过后让对方和贴人二十图恶他的 5#与@业务v
%
对人体 怀疑态度他太容他的易 和发V大概一个月就突发天天突然累有有他h63r 田野gt 亚太第一th057445风格独特合伙人eY热 7加 的家庭7545737645
%
风格7845787o和突然56俄
%
u肥肉@
%
书个人 C又特意 VBVCV@#Q$*^&*FV @CX
%#
SC
%
$HJ$#FG
%
GTWTTFWYG
%
TY#43"
# 要加密语句
message
=
input
(
"SB输入:"
)
# 请使用私钥key,对message进行加密
key_message
=
""
gj
=
"*&^
%
$##$!@!##$@#^$
%%
$!@)"
for
i
in
message
:
str1
=
i
str2
=
random
.
choice
(
key
)
str3
=
random
.
choice
(
key
)
text
=
str1
+
str2
+
str3
key_message
=
key_message
+
text
list_message
=
list
(
key_message
)
x
=
random
.
randint
(
0
,
len
(
list_message
))
list_message
.
insert
(
x
,
gj
)
result_message
=
""
.
join
(
list_message
)
print
(
result_message
)
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