摘要: CAN304 W1 Definition The protection afforded to an automated information system in order to attain the applicable objectives of preserving the integri 阅读全文
posted @ 2023-05-13 22:26 AAA建材王师傅 阅读(84) 评论(0) 推荐(0)
摘要: CAN304 W2 Classical and modern cryptography Classical cryptography 完全依赖于通信双方之间共享的秘密信息(Private-key cryptography, 又叫 secret-key / shared-key / symmetric 阅读全文
posted @ 2023-05-13 22:26 AAA建材王师傅 阅读(45) 评论(0) 推荐(0)
摘要: CAN304 W3 Message authentication code Message integrity 我们一直关注确保通信的保密性。 Integrity:确保接收到的消息来自预期方,并且未被修改,即使攻击者控制该通道。 保密 (secrecy) 和完整性 (integrity) 是正交的问 阅读全文
posted @ 2023-05-13 22:26 AAA建材王师傅 阅读(54) 评论(0) 推荐(0)
摘要: CAN304 W4 The public-key revolution 对称加密 (symmetric cryptograph) 带来了一系列安全问题: 如何安全地共享密钥?(The key-distribution problem) 多个人如何共享密钥 (每两人一个?)(The key-manag 阅读全文
posted @ 2023-05-13 22:26 AAA建材王师傅 阅读(67) 评论(0) 推荐(0)
摘要: CAN304 W5 Designing security protocols Security protocols: A series of steps involving two or more parties designed to accomplish a task with suitable 阅读全文
posted @ 2023-05-13 22:26 AAA建材王师傅 阅读(50) 评论(0) 推荐(0)
摘要: 碰撞器下载地址:http://www.win.tue.nl/hashclash/fastcoll_v1.0.0.5.exe.zip 测试: MsgBox.exe是一个简单的测试程序,MFC,执行会弹出一个框框 fastcoll_v1.0.0.5.exe -p MsgBox.exe -o m1.exe 阅读全文
posted @ 2023-04-20 15:35 AAA建材王师傅 阅读(133) 评论(0) 推荐(0)
摘要: 一、对称加密解密方式 我们的数据传输对称加密过程如下: 例如,现在A方要将一段数据发送给B方,如果不加密的话,直接用明文传输,很可能在传输的过程中被恶意的第三方拦截到,轻则是B方接收不到数据,重则恶意的第三方篡改数据,让B方接收到错误的数据,使得A、B双方蒙受损失。于是我们要在A方进行数据加密,并且 阅读全文
posted @ 2023-03-17 21:40 AAA建材王师傅 阅读(350) 评论(0) 推荐(1)
摘要: import torch import torchvision from torch.utils.data import DataLoader import torch.nn as nn #torch.nn层中包含可训练的参数 import torch.nn.functional as F impo 阅读全文
posted @ 2022-11-29 22:23 AAA建材王师傅 阅读(189) 评论(0) 推荐(0)
摘要: 通常,从EditText中获取字符串很简单: EditText text = findViewById(R.id.textName); String name = text.getText().toString();现在要从其中获得数字,就要做以下处理。xml中加入输入类型android:input 阅读全文
posted @ 2022-11-13 17:17 AAA建材王师傅 阅读(77) 评论(0) 推荐(0)
摘要: 在学习机器学习的时候,我对这两个概念产生了强烈的迷惑。于是补习了相关的知识。 首先给出结论:“根据中心极限定理,误差服从正态分布,此时使得样本似然函数最大等价于使得MSE最小。《Deep Learning》 1.什么是最大似然估计 ####离散型 假设有一盒的小球编只有1和2,这个盒子无限大,每次取 阅读全文
posted @ 2022-11-03 22:03 AAA建材王师傅 阅读(608) 评论(0) 推荐(0)