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
26d5fa3e
authored
Oct 21, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
d223b699
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
0 deletions
diy4.py
hfg.py
diy4.py
0 → 100644
View file @
26d5fa3e
import
random
# 私钥
key
=
"TV让撕逼额为如此一百TV哦TVhi哦你让他不批么让一番产品为人员维埃提偶生日u一般TV承认我擦鹅肉热为何如此枯叶五二五零发热肤色暗如同比如怪物啊因为ukv哪两位将军率vvvvu里能看到盈利有望人体排名发生的vivu比v热舞色ray oh你要是让人二毫克可以把爱人艾溪湖科比强阿尔玛数据啊UG撒都客户fas"
# 要加密语句
message
=
"诺依哦hi消费品耨皮肤,周末一起去看动漫展吧!i绿田园浓缩v突然TVuu他人的v篇大夫于妇女律师在重复包邮哦不配费用别"
key_message
=
""
# 请使用私钥key,对message进行加密
for
i
in
range
(
len
(
message
)):
a
=
message
[
i
]
b
=
random
.
choice
(
key
)
c
=
random
.
choice
(
key
)
d
=
a
+
b
+
c
key_message
=
key_message
+
d
print
(
key_message
)
message1
=
list
(
key_message
)
message1
.
insert
(
random
.
randint
(
0
,
len
(
message1
)),
"的方向不像有的人¥
%
……&*$
%
_*^&
%
(
%
^"
)
message2
=
""
.
join
(
message1
)
print
(
message2
)
\ No newline at end of file
hfg.py
0 → 100644
View file @
26d5fa3e
import
random
noise
=
"的方向不像有的人¥
%
……&*$
%
_*^&
%
(
%
^"
# 私钥
key
=
"TV让撕逼额为如此一百TV哦TVhi哦你让他不批么让一番产品为人员维埃提偶生日u一般TV承认我擦鹅肉热为何如此枯叶五二五零发热肤色暗如同比如怪物啊因为ukv哪两位将军率vvvvu里能看到盈利有望人体排名发生的vivu比v热舞色ray oh你要是让人二毫克可以把爱人艾溪湖科比强阿尔玛数据啊UG撒都客户fas"
# 要加密语句
message
=
"诺依哦hi消费品耨皮肤,周末一起去看动漫展吧!i绿田园浓缩v突然TVuu他人的v篇大夫于妇女律师在重复包邮哦不配费用别"
key_message
=
""
# 请使用私钥key,对message进行加密
for
i
in
range
(
len
(
message
)):
a
=
message
[
i
]
b
=
random
.
choice
(
key
)
c
=
random
.
choice
(
key
)
d
=
a
+
b
+
c
key_message
=
key_message
+
d
message1
=
list
(
key_message
)
message1
.
insert
(
random
.
randint
(
0
,
len
(
message1
)),
noise
)
message2
=
""
.
join
(
message1
)
print
(
message2
)
\ 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