Files
fzu-product/.vitepress/dist/assets/技术资源汇总(杭电支持版)_6.计算机安全_6.3密码学.md.1BmjaKRy.js

2 lines
4.3 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{_ as a,c as e,o as t,a4 as r}from"./chunks/framework.DtvhUNIn.js";const f=JSON.parse('{"title":"什么是密码学","description":"","frontmatter":{},"headers":[],"relativePath":"技术资源汇总(杭电支持版)/6.计算机安全/6.3密码学.md","filePath":"技术资源汇总(杭电支持版)/6.计算机安全/6.3密码学.md"}'),l={name:"技术资源汇总(杭电支持版)/6.计算机安全/6.3密码学.md"},o=r('<h1 id="什么是密码学" tabindex="-1">什么是密码学 <a class="header-anchor" href="#什么是密码学" aria-label="Permalink to &quot;什么是密码学&quot;"></a></h1><blockquote><p>本文来自 HGAME Mini 2022 Crypto 入门材料。</p></blockquote><p>密码学分为密码编码学和密码分析学,前者寻求<strong>提供信息机密性、完整性和非否认性等的方法</strong>,后者研究<strong>加密信息的破译和伪造等破坏密码技术所能提供安全性</strong>的方法。CTF 比赛中的密码学题目偏向于密码分析。</p><h2 id="如何学习密码学" tabindex="-1">如何学习密码学 <a class="header-anchor" href="#如何学习密码学" aria-label="Permalink to &quot;如何学习密码学&quot;"></a></h2><h3 id="数学基础" tabindex="-1">数学基础 <a class="header-anchor" href="#数学基础" aria-label="Permalink to &quot;数学基础&quot;"></a></h3><p>数论,线性代数,抽象代数</p><p>当你有了这些基础之后才能更熟练的使用一些数学工具。</p><p>学习这些基础的东西最好的方法就是看书(群文件里都有哦~),如果是英文的话尽量看原著,这对后面看论文帮助很大。</p><h3 id="编程基础" tabindex="-1">编程基础 <a class="header-anchor" href="#编程基础" aria-label="Permalink to &quot;编程基础&quot;"></a></h3><p>你可能需要了解一些 python 的基础语法。还有一些简单的算法。</p><h3 id="一些基础的密码系统" tabindex="-1">一些基础的密码系统 <a class="header-anchor" href="#一些基础的密码系统" aria-label="Permalink to &quot;一些基础的密码系统&quot;"></a></h3><p>古典密码:</p><ul><li>凯撒密码</li><li>维吉尼亚密码</li><li>栅栏密码</li><li>希尔密码</li><li>培根加密</li><li>摩斯电码</li><li>等</li></ul><p>现代密码:</p><ul><li>RSA非常经典</li><li>AES</li><li>DES</li><li>ECC</li><li>等</li></ul><p>还有近几年多起来的格密码</p><p>主要看一些书籍,或者在 ctf-wiki.org 学习。学习的过程中尽可能的多写一些 demo既锻炼了编程能力也可以更好的了解一些密码系统。</p><p>有能力的同学可以先看一下这位教授的关于密码学的课程 <a href="https://m.youtube.com/channel/UC1usFRN4LCMcfIV7UjHNuQg" target="_blank" rel="noreferrer">https://m.youtube.com/channel/UC1usFRN4LCMcfIV7UjHNuQg</a></p><h2 id="工具" tabindex="-1">工具 <a class="header-anchor" href="#工具" aria-label="Permalink to &quot;工具&quot;"></a></h2><p>一些 python 的库:</p><ul><li>pycryptodome(就是 Crypto 库)</li></ul><p><a href="https://pycryptodome.readthedocs.io/en/latest/" target="_blank" rel="noreferrer">https://pycryptodome.readthedocs.io/en/latest/</a></p><ul><li>gmpy2(数论)</li><li>sympy</li></ul><p>sagemath(一个功能极其强大的集成工具)</p><h2 id="刷题平台" tabindex="-1">刷题平台 <a class="header-anchor" href="#刷题平台" aria-label="Permalink to &quot;刷题平台&quot;"></a></h2><p><a href="https://cryptohack.org/" target="_blank" rel="noreferrer">https://cryptohack.org/</a> (推荐)</p><p>buuoj</p><p>bugku(比较入门的题)</p><p>ctfhub</p><h2 id="写在最后的话" tabindex="-1">写在最后的话 <a class="header-anchor" href="#写在最后的话" aria-label="Permalink to &quot;写在最后的话&quot;"></a></h2><p>密码学可能刚入门起来感觉非常难受(可能不包括古典密码),但事实是不管那个方向或者说任何的一门学科的学习过程都是这样的(怪胎除外)。因为现在大家基本上都是兴趣驱动的,所以希望大家永远保持对新知识的好奇心,这样就不会感觉说这是一个任务一样的东西。其实密码学还是很有意思的。</p><p><code>synt{pelcg0_1f_r4fl_g0_fg4eg!!}</code></p>',32),i=[o];function p(h,n,c,s,d,u){return t(),e("div",null,i)}const m=a(l,[["render",p]]);export{f as __pageData,m as default};