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
8f670e91
authored
Aug 05, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
d223b699
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13159 additions
and
0 deletions
diy4.py
diy4.py
0 → 100644
View file @
8f670e91
import
random
# 私钥
key
=
"abcdefgh使用编程实现位移替换加密风格恢复就恐怖行业的妇科疾病忽悠rise开放花瓣同样瑞u法国v不会突然感觉后方别人u同日军一会给你提进入胡歌iv很多烦恼将更加柔和的奶粉viotudfj,ujcn恶如开发,纪念u替人扩大飞机和别人的的基督徒回复v人员的交通也很方便v的研发基地天河公园日,制作密码机关真是太好玩了哈哈!23456g8tibbrtguibokybrtvfg79ykpomp rturt678g90poutjy hnftui6uokyhtghv8ukjtvgtnbmtiyturtefh98jiykftjyrgu0k9bpoyktjryug0k9btyktrfg7980pfuykt r7b6e7tgi09fbt r6859t0ipogkrj6h7809tkj6800-[yplhnth960r[ykljhjk70typokhipjktr0pohkui7660-l5youij6lr60uoi7b;lr,6ojop[h6l5jhkly-toioku;lyt,hiukl;rt'kytmjiplrt;jyukhlgprtkljm,h.r5069yul;'kjmyu,7optyjhl,rtihyftjg;ldnty tokhftkf,mh ibjrt,ylfh,jge5,r0ti9gkhl;bkr67miyoflguhnbm,ftoifujh,niy0tokt,hgmitukly.fkgmbuyfikdldfdbrtdfijgbvndriudfghnvmceruhjfkhvtdudkurfgvrbsjhdhtgfh8ryfgbnvfghygm]]]"
# 要加密语句
message
=
"诺依,周末一起去看动漫展吧!"
key_message
=
""
# 请使用私钥key,对message进行加密
for
i
in
message
:
a
=
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
)
#变list
message1
.
insert
(
random
.
randint
(
0
,
len
(
message1
)),
"¥
%
……&*$
%
_v订货金额的过程v用户均可免费给v贝克肉嘟嘟*^&
%
(
%
^"
)
message2
=
""
.
join
(
message1
)
#变变量
print
(
message2
)
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