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
43b7c552
authored
Mar 06, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
18891748
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
diy4.py
diy4.py
0 → 100644
View file @
43b7c552
import
random
luanma
=
"司法局头等fh舱美def好地三鲜ahz^(* ̄(oo) ̄)^❀zhuhwsn凸(艹皿艹 )吃的晚上cxjjccddht发的,剪刀(•́へ•́╬)赌书ddmsx消得泼茶sdfvvd香学数学的大学cvdxcdgjmds长城电信电磁阀"
# 私钥
text1
=
""
key
=
"ndjudjj幸福的地方房价还要CVG报道到你sxffrfd当成现实的所担负的豆豆"
# 要加密语句
message
=
input
(
"你要加密什么:"
)
for
i
in
message
:
str1
=
i
str2
=
random
.
choice
(
key
)
str3
=
random
.
choice
(
key
)
str4
=
random
.
choice
(
key
)
str5
=
random
.
choice
(
key
)
text
=
str1
+
str2
+
str3
+
str4
+
str5
text1
=
text1
+
text
# 请使用私钥key,对message进行加密
text1
=
list
(
text1
)
a
=
random
.
randint
(
0
,
len
(
luanma
))
text1
.
insert
(
a
,
luanma
)
text1
=
""
.
join
(
text1
)
print
(
text1
)
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