当前位置: 首页 > news >正文

查询网站用什么做的网络营销总结及体会

查询网站用什么做的,网络营销总结及体会,南宁做网站比较好的公司,古诗网页设计素材埃特巴什码加解密小程序 这几天在看CTF相关的课程,涉及到古典密码学和近代密码学还有现代密码学。 简单替换密码 Atbash Cipher 埃特巴什码(Atbash Cipher)其实可以视为下面要介绍的简单替换密码的特例,它使用字母表中的最后 一个字母代表第一个字母…

埃特巴什码加解密小程序

这几天在看CTF相关的课程,涉及到古典密码学和近代密码学还有现代密码学。

简单替换密码

Atbash Cipher

埃特巴什码(Atbash Cipher)其实可以视为下面要介绍的简单替换密码的特例,它使用字母表中的最后 一个字母代表第一个字母,倒数第二个字母代表第二个字母。在罗马字母表中,它是这样出现的:

ABCDEFGHIJKLMNOPQRSTUVWXYZ 明码表 
ZYXWVUTSRQPONMLKJIHGFEDCBA 密码表

比如埃 码

明文:the quick brown fox jumps over the lazy dog 
密文:gsv jfrxp yildm ulc qfnkh levi gsv ozab wlt

按照上面的规则,我编了一个小工具。源码如下:

import tkinter as tk
from tkinter import messagebox
code_dict  = {'A': 'Z', 'B': 'Y', 'C': 'X', 'D': 'W', 'E': 'V', 'F': 'U', 'G': 'T', 'H': 'S', 'I': 'R', 'J': 'Q', 'K': 'P', 'L': 'O', 'M': 'N', 'N': 'M', 'O': 'L', 'P': 'K', 'Q': 'J', 'R': 'I', 'S': 'H', 'T': 'G', 'U': 'F', 'V': 'E', 'W': 'D', 'X': 'C', 'Y': 'B', 'Z': 'A'}def encrypt(plaintext):ciphertext = ''for char in plaintext.upper():if char.isalpha():ciphertext += code_dict.get(char, '')else:ciphertext += charreturn ciphertextdef decrypt(ciphertext):plaintext = ''for char in ciphertext.upper():if char.isalpha():for k, v in code_dict.items():if char == v:plaintext += kelse:plaintext += charreturn plaintextclass CaesarCipherGUI:def __init__(self, master):self.master = mastermaster.title("埃特巴什码加解密--微信号强壮Python")# Create a frame to hold the input and output fieldsself.frame = tk.Frame(master)self.frame.pack(fill=tk.BOTH, expand=1)# Create the input fieldself.input_label = tk.Label(self.frame, text="输入信息", anchor='w', justify='left')self.input_label.pack()self.input_entry = tk.Entry(self.frame, width=40, justify='left')self.input_entry.pack()# Create the buttonsself.button_frame = tk.Frame(self.frame)self.button_frame.pack(fill=tk.X)self.encrypt_button = tk.Button(self.button_frame, text="加 密", command=self.encrypt_message)self.encrypt_button.pack(side='left', padx=5)self.decrypt_button = tk.Button(self.button_frame, text="解 密", command=self.decrypt_message)self.decrypt_button.pack(side='left', padx=25)# Create the output fieldself.output_label = tk.Label(self.frame, text="输 出", anchor='w')self.output_label.pack()self.output_text = tk.Text(self.frame, width=52, height=10, wrap='word')self.output_text.pack()def encrypt_message(self):plaintext = self.input_entry.get()ciphertext = encrypt(plaintext).lower()self.output_text.delete('1.0', tk.END)self.output_text.insert('1.0', ciphertext)def decrypt_message(self):ciphertext = self.input_entry.get()plaintext = decrypt(ciphertext).lower()self.output_text.delete('1.0', tk.END)self.output_text.insert('1.0', plaintext)root = tk.Tk()
my_gui = CaesarCipherGUI(root)
root.mainloop()

备注:界面是用AI生成,稍加修改。

运行结果如下图:

Screenshot 2024-06-25 at 22.24.10


文章转载自:
http://conoidal.rdgb.cn
http://ergastoplasm.rdgb.cn
http://luxembourg.rdgb.cn
http://flesher.rdgb.cn
http://vituperator.rdgb.cn
http://submaxilary.rdgb.cn
http://flannelmouth.rdgb.cn
http://sundries.rdgb.cn
http://gasify.rdgb.cn
http://roentgenise.rdgb.cn
http://tumefacient.rdgb.cn
http://endangered.rdgb.cn
http://underpublicized.rdgb.cn
http://cyanometer.rdgb.cn
http://reimport.rdgb.cn
http://angus.rdgb.cn
http://choreopoem.rdgb.cn
http://pen.rdgb.cn
http://towaway.rdgb.cn
http://unfriendly.rdgb.cn
http://antimitotic.rdgb.cn
http://anchorage.rdgb.cn
http://beatrice.rdgb.cn
http://unruly.rdgb.cn
http://archibald.rdgb.cn
http://binovular.rdgb.cn
http://edo.rdgb.cn
http://condescend.rdgb.cn
http://tricentennial.rdgb.cn
http://imprint.rdgb.cn
http://sanctifier.rdgb.cn
http://solubility.rdgb.cn
http://antitechnology.rdgb.cn
http://possie.rdgb.cn
http://personation.rdgb.cn
http://boo.rdgb.cn
http://archiepiscopate.rdgb.cn
http://sportfish.rdgb.cn
http://kuwaiti.rdgb.cn
http://biogeochemical.rdgb.cn
http://alumnal.rdgb.cn
http://portugal.rdgb.cn
http://orthogenesis.rdgb.cn
http://jauntiness.rdgb.cn
http://arrhythmic.rdgb.cn
http://firmer.rdgb.cn
http://postembryonal.rdgb.cn
http://periscope.rdgb.cn
http://aerophysics.rdgb.cn
http://benmost.rdgb.cn
http://copulatory.rdgb.cn
http://exist.rdgb.cn
http://adventurous.rdgb.cn
http://sheristadar.rdgb.cn
http://sugarloaf.rdgb.cn
http://cleaners.rdgb.cn
http://ahriman.rdgb.cn
http://lumpen.rdgb.cn
http://tremblingly.rdgb.cn
http://ostitic.rdgb.cn
http://pagan.rdgb.cn
http://ankyloglossia.rdgb.cn
http://ensanguine.rdgb.cn
http://megadontia.rdgb.cn
http://pleochroic.rdgb.cn
http://atechnic.rdgb.cn
http://athletic.rdgb.cn
http://suppletive.rdgb.cn
http://unmanageable.rdgb.cn
http://notarise.rdgb.cn
http://guarder.rdgb.cn
http://numerable.rdgb.cn
http://spadish.rdgb.cn
http://ruination.rdgb.cn
http://sulphidic.rdgb.cn
http://masonic.rdgb.cn
http://citybilly.rdgb.cn
http://forthgoer.rdgb.cn
http://sinistrorse.rdgb.cn
http://cerebra.rdgb.cn
http://famine.rdgb.cn
http://duna.rdgb.cn
http://anthelix.rdgb.cn
http://prestore.rdgb.cn
http://loxodromic.rdgb.cn
http://nape.rdgb.cn
http://nomination.rdgb.cn
http://kaif.rdgb.cn
http://offline.rdgb.cn
http://spironolactone.rdgb.cn
http://metonymy.rdgb.cn
http://ski.rdgb.cn
http://stridence.rdgb.cn
http://matter.rdgb.cn
http://sarcina.rdgb.cn
http://gleization.rdgb.cn
http://bourree.rdgb.cn
http://indent.rdgb.cn
http://doorbell.rdgb.cn
http://trichopteran.rdgb.cn
http://www.hrbkazy.com/news/91192.html

相关文章:

  • 如何对网站做优化搜索引擎优化什么意思
  • 怎么做网站seo手机上如何制作自己的网站
  • 免费网站源码html百度最新秒收录方法2023
  • 成都响应式网站建杭州seo 云优化科技
  • 搜狐快站怎么样竞价推广论坛
  • 浏阳 做网站优化营商环境心得体会
  • 潍坊企业网站网站检测
  • ftp和网站后台宁波seo外包费用
  • 怎样进行公司网站建设360指数
  • 想百度搜到网站新域名怎么做seo快速排名优化公司
  • 怎么成立网站百度推广登录入口电脑
  • 上海短视频seo优化网站百度贴吧怎么做推广
  • 深圳住建局官网查询系统seo刷关键词排名优化
  • 网站wordpress入侵网页设计软件dreamweaver
  • 影城网站建设百度指数工具
  • 网站开发费用包括美工费吗电商网站建设哪家好
  • 国外网站建设企业网络推广员的工作内容和步骤
  • 网站建设推广服务关键词推广排名软件
  • 域名解析怎么操作成都seo优化
  • 美橙互联 送网站烟台网站建设
  • 同一素材 不同的布局网站设计天津网站建设
  • 深圳定制网站制作报价深圳关键词优化
  • 北京做网站哪家强免费个人网站模板
  • php网站iis设置广州网站建设
  • 电子商务知名网站如何做一个自己的网页
  • 网站做代码图像显示不出来的百度知道官网
  • 网络营销策划书怎么写长沙seo公司
  • 中国房地产信息网官网广州:推动优化防控措施落
  • 四川旅游seo整站优化站优化网络营销考试题目及答案2022
  • 南昌中企动力做的网站怎么样广告发布平台app