fix(docs): some details syntax

This commit is contained in:
KirisameVanilla 2025-09-11 02:59:15 +08:00
parent 5099f57822
commit 112bc735c5
No known key found for this signature in database
GPG Key ID: 7FC750F817277AC5
3 changed files with 45 additions and 0 deletions

View File

@ -19,9 +19,11 @@ author:
<details>
<summary>解:</summary>
B
$a^d \equiv a^k \pmod{m}$ 成立的充要条件是 $d \equiv k \pmod{(\mathrm{ord}_m(a))}$
</details>
***
@ -35,9 +37,11 @@ author:
<details>
<summary>解:</summary>
C
简单验证即可
</details>
***
@ -51,9 +55,11 @@ author:
<details>
<summary>解:</summary>
B
简单计算即可
</details>
***
@ -67,9 +73,11 @@ author:
<details>
<summary>解:</summary>
D
例如 $a - b = 3, a + b = 5, c = 15$
</details>
***
@ -83,9 +91,11 @@ author:
<details>
<summary>解:</summary>
A
$\varphi(40) = 16$
</details>
***
@ -99,9 +109,11 @@ author:
<details>
<summary>解:</summary>
C
因为 $(137, 739) = 1, 137*739 = 101243$, 故 $\mathrm{ord}_{101243}(47) = [\mathrm{ord}_{137}(47), \mathrm{ord}_{739}(47)] = [136, 82] = 5576$
</details>
***
@ -115,9 +127,11 @@ author:
<details>
<summary>解:</summary>
B
$n(n^2 - 1) = n(n-1)(n+1)$因子中必然存在2与3故能被6整除
</details>
***
@ -131,9 +145,11 @@ author:
<details>
<summary>解:</summary>
C
简单验证即可
</details>
***
@ -147,9 +163,11 @@ author:
<details>
<summary>解:</summary>
C
由定义验证即可
</details>
***
@ -163,9 +181,11 @@ author:
<details>
<summary>解:</summary>
A
计算勒让德符号即可
</details>
***
@ -176,9 +196,11 @@ author:
<details>
<summary>解:</summary>
2
$13^2 = 169 \equiv 1 \pmod{21}$,故 $\mathrm{ord}_{21}(13) = 2$
</details>
***
@ -187,9 +209,11 @@ author:
<details>
<summary>解:</summary>
4
因为 $(3, 11) = 1$,故 $3^{10} \equiv 1 \pmod{11}$,则 $3^{865749} \equiv 3^9 \equiv 4 \pmod{11}$
</details>
***
@ -242,6 +266,7 @@ author:
<details>
<summary>解:</summary>
-1
简单计算勒让德符号
@ -265,6 +290,7 @@ author:
<details>
<summary>解:</summary>
2
简单检验计算即可
@ -276,6 +302,7 @@ author:
<details>
<summary>解:</summary>
2
做法同2
@ -287,9 +314,11 @@ author:
<details>
<summary>解:</summary>
0
计算勒让德符号 $\left( \frac{26}{443} \right)$即可
</details>
***

View File

@ -15,6 +15,7 @@ author:
<details>
<summary>答案:</summary>
简述定义即可, 不赘述
</details>
@ -25,6 +26,7 @@ author:
<details>
<summary>答案:</summary>
考虑如下情况:
- Bob要向Alice发送一个带数字签名的消息, 进行签名需要用到Bob的私钥
@ -59,6 +61,7 @@ author:
1. 简述TCP SYN欺骗攻击的原理 **(2分)**
<details>
<summary>答案:</summary>
简述定义即可, 不赘述
</details>
@ -68,6 +71,7 @@ author:
2. 假设初始时TCP连接表已被洪泛, 为保证TCP连接表始终被填满, 攻击者应以什么速率发送数据包?**(4分)**
<details>
<summary>答案:</summary>
每个表项存活时间: 30s × 7 = 210s, 需在210s内填满512个表项, 速率 = 512 / 210 ≈ 2.44 包/秒
</details>
@ -78,6 +82,7 @@ author:
<details>
<summary>答案:</summary>
每个TCP包40字节, 带宽 = 2.44 包/秒 × 40 字节/包 × 8 比特/字节 = 780.8 bps
</details>
@ -148,6 +153,7 @@ author:
2. 假设输入长度为19字节时程序不会崩溃, 而输入长度为20字节时程序崩溃, 如果想要修改tag的话, 输入长度应至少为多少字节?为什么?**(4分)**
<details>
<summary>答案:</summary>
要修改 tag 的话, 至少要输入 28 字节, 理由见上述分析与栈帧结构图
</details>
@ -178,6 +184,7 @@ author:
1. 三种云服务部署模型分别是什么?**(3分)**
<details>
<summary>答案:</summary>
SaaS, PaaS, IaaS
</details>
@ -187,6 +194,7 @@ author:
2. 若想在云上搭建自己的操作系统, 应该采取哪种部署模型?为什么?**(3分)**
<details>
<summary>答案:</summary>
私有云, 用户可自主定制硬件、网络及安全策略, 满足操作系统底层架构的灵活部署需求, 同时资源独享避免与其他租户冲突, 适合对数据隐私和合规性要求高的场景
</details>
@ -196,6 +204,7 @@ author:
3. 如何加固云上的操作系统?**(4分)**
<details>
<summary>答案:</summary>
参考书上相关章节, 言之有理即可
</details>
@ -207,6 +216,7 @@ author:
1. 用户认证方法有哪些?**(4分)**
<details>
<summary>答案:</summary>
个人知道的信息, 个人持有的物品, 静态生物特征, 动态生物特征
</details>
@ -216,6 +226,7 @@ author:
2. 为防止明文口令泄露和离线字典攻击, 应如何储存口令相关信息?**(4分)**
<details>
<summary>答案:</summary>
加盐, 简述加盐原理
</details>
@ -225,6 +236,7 @@ author:
3. 假设一个用户有8个属性, 每个属性有10个值, 如果采用基于角色的访问控制, 应设置多少个角色?**(4分)**
<details>
<summary>答案:</summary>
$10^8$ 个
</details>
@ -240,6 +252,7 @@ author:
该语句有无安全隐患?攻击者如何在不知道任何用户名和口令的情况下, 如何攻击得到全部信息?**(4分)**
<details>
<summary>答案:</summary>
有隐患, 向 uname 字段输入 OR 1=1 -- 以绕过密码检测
</details>
@ -249,6 +262,7 @@ author:
5. 为防范(4) 中的攻击, 应采用何种防火墙?为什么?**(4分)**
<details>
<summary>答案:</summary>
应采用应用级防火墙, 因为要对sql语句进行检查, 这是应用层上的机制
</details>

View File

@ -17,6 +17,7 @@ author:
1. 计算机安全 CIA 三元组指的是哪三个方面(3分) , 并简述对称加密和非对称加密如何实现这三个方面的 (7分)
<details>
<summary>答案:</summary>
CIA 三元组是
- 机密性 Confidentiality
@ -159,6 +160,7 @@ author:
- 等等
言之有理即可
</details>
***