Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_4
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
94f11fee
authored
Oct 21, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
525ac34a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
1 deletions
diy1.py
diy2.py
diy3.py
diy4.py
diy1.py
0 → 100644
View file @
94f11fee
import
random
# 私钥
key
=
"abcdefgh使用实不发光闻喜县蜂啥牛不发行那鸡鸡样现位移替换加密,屌屌屌屌屌鸡鸡屌屌屌制作密码机关真是太大笔去kid哈垃圾垃圾垃圾垃圾垃圾垃圾垃圾垃圾垃圾了垃圾垃圾垃圾垃圾垃圾垃圾垃圾垃圾布v给我i改变v重新浏览好玩鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡急急急屌毛丑逼傻屌了哈哈!还差不多换手机号v好坏不分市场的v额偶4走。去【东西怕麻烦 iw海外人才u个人图也充满幸福结盟你不会那么吗仇深的发v如果刚好八十八个按规范农村"
# 要加密语句
message
=
"诺依,周末一起去欢乐谷吧!"
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
)
mass
diy2.py
0 → 100644
View file @
94f11fee
litext
=
"周末一起玩"
import
random
litext
=
list
(
litext
)
litext
.
insert
(
random
.
randint
(
0
,
len
(
litext
)),
"nuydybtgv "
)
a
=
""
.
join
(
litext
)
print
(
a
)
\ No newline at end of file
diy3.py
0 → 100644
View file @
94f11fee
diy4.py
View file @
94f11fee
import
random
# 私钥
key
=
"abcdefgh使用
编程实现位移替换加密,屌屌屌屌屌屌屌屌制作密码机关真是太大笔去kid哈垃圾垃圾垃圾垃圾垃圾垃圾垃圾垃圾垃圾了垃圾垃圾垃圾垃圾垃圾垃圾垃圾垃圾布v给我i改变v重新浏览好玩鸡鸡
屌毛丑逼傻屌了哈哈!还差不多换手机号v好坏不分市场的v额偶4走。去【东西怕麻烦 iw海外人才u个人图也充满幸福结盟你不会那么吗仇深的发v如果刚好八十八个按规范农村"
key
=
"abcdefgh使用
实不发光闻喜县蜂啥牛不发行那鸡鸡样现位移替换加密,屌屌屌屌屌鸡鸡屌屌屌制作密码机关真是太大笔去kid哈垃圾垃圾垃圾垃圾垃圾垃圾垃圾垃圾垃圾了垃圾垃圾垃圾垃圾垃圾垃圾垃圾垃圾布v给我i改变v重新浏览好玩鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡鸡急急急
屌毛丑逼傻屌了哈哈!还差不多换手机号v好坏不分市场的v额偶4走。去【东西怕麻烦 iw海外人才u个人图也充满幸福结盟你不会那么吗仇深的发v如果刚好八十八个按规范农村"
# 要加密语句
message
=
"诺依,周末一起去欢乐谷吧!"
key_message
=
""
...
...
@@ -17,3 +17,4 @@ message1=list(key_message)
message1
.
insert
(
random
.
randint
(
0
,
len
(
message1
)),
"¥
%
……&*$
%
_*^&
%
(
%
^"
)
message2
=
""
.
join
(
message1
)
print
(
message2
)
mass
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