当前位置:网站首页>网络安全基本知识——密码(一)
网络安全基本知识——密码(一)
2022-07-28 04:36:00 【oceanL01】
信息的属性
可用性、真实性、机密性
可用性:信息系统提供服务的能力,信息可以正常服务的或者可以获取到的
机密性 :保密
真实性:可鉴别(谁发的消息)、完整性(发送前和发送后文件一样吗)、抗抵赖(如果真的发送过这个消息,就不能抵赖)
信息安全就是拥有者能了解和控制信息在三种状态(传输、存储、处理)下的安全属性(CIA)。
信息与数据
数据是客观事物的符号表示。
数据是信息的载体,但信息不等于数据。
信息的价值————数字化生存。
信息系统的弱点
内因:
(1)设计上的问题:从最开始建立系统缺乏安全的总体构想和设计。
(2)实现上的问题:代码中有后门或无意的bug。
(3)配置上的问题:默认的服务。
(4)管理上的问题:内部人员无意或恶意操作。
信息安全的载体是数据安全。
我们要以计算机系统与网络系统为代表的信息系统中保证信息的安全,提供信息安全服务。
密码学分类
密码学分为编码学、破译学
编码学分为现代密码、古典密码
古典密码分为替换法、转置法
现代密码分为对称加密、非对称加密、Hash
对称加密分为流密码、块密码
根据国家分为国密算法、国际算法
密码学中四个重点是数据加密、数字签名、消息摘要、密钥管理
用密码学来保护信息的机密性和真实性。
加密与解密
密文=加密算法(明文+加密密钥)
明文=解密算法(密文+解密密钥)
两种密码体制
对称密码体制、非对称密码体制
对称密码算法:加密密钥和解密密钥相同,或能互相推导(如替换密码),它们通过安全信道传递密钥
非对称密码算法:加密密钥和解密密钥不相同,且不能互相推导(成对的,一一对应),例如RSA算法。 非对称密码体制的加密密钥传送信道不怕窃听。解密密钥是保密的,这样,不认识的人之间也可以加密通信。可以保证完整性、机密性,但不能保证可鉴别性和抗抵赖性。
双钥密码解密密钥公开应用——数字签名、数字证书
数字签名:基于数据内容不可伪造。
单向散列函数
单向散列函数也称为消息摘要函数,单向哈希函数或者杂凑函数,就是把任意长度的输入消息串变化成固定长的输出串且由输出串难以得到输入串的一种函数。这个输出串称为该消息的散列值。一般用于产生消息摘要,密钥加密等
经典算法包括:MD4\MD5\SHA1\SHA256\SHA512等
注意:哈希不是加密也不是编码
国密算法
为了保障商用密码的安全性,国家密码局制定了一系列密码标准,包括:SM1、SM2、SM3、SM4、SM7、SM9、祖冲之密码算法(ZUC) 等。
其中SM1、SM4、SM7、祖冲之密码(ZUC)是对称算法。
SM2、SM9是非对称算法。
SM3是哈希算法。
其中SM1、SM7算法不公开,调用该算法时,需要通过加密芯片的接口进行调用。
边栏推荐
- 【实战】使用 Web Animations API 实现一个精确计时的时钟
- Reading of papers on "towards generative aspect based sentimental analysis"
- Warning: file already exists but should not: c:\users\workmai\appdata\local\temp appears when Python packages exe\_ MEI13
- Information system project manager (2022) - key content: information system integrated testing and management, project management maturity model, quantitative project management (21)
- Reading the paper "learning span level interactions for aspect sentimental triple extraction"
- [Sylar] framework chapter -chapter21- environment variable module
- Information system project manager (2022) - key content: Project Contract Management (13)
- 24-Openwrt dnsmasq
- 【sylar】框架篇-Chapter6-协程调度模块
- [Sylar] practical part - redis based parameter query service
猜你喜欢

2022-7-27 顾宇佳 学习笔记
![[record of question brushing] 9. Number of palindromes](/img/01/74b0f40a29aaec487898a791cc8b79.png)
[record of question brushing] 9. Number of palindromes

校园流浪猫信息记录和分享的小程序源码

Fedformer MOE module

Glusterfs file is not mounted, permission: R-S

pytorch_ Lightning in lightning_ The output of hparams.yaml in logs is null

could only be written to 0 of the 1 minReplication nodes. There are 0 datanode(s) running and 0 node

Study of the Intel aria 10 Avalon mm DMA interface for PCI Express solutions User Guide

How to upgrade a pair of 12.2 RAC(primary) and a pair of 12.2 RAC(dataguard) to 19c

Strlen introduction, and the difference between sizeof
随机推荐
将数据库拿到的数据渲染到elementUI 中的table中去
Glusterfs file is not mounted, permission: R-S
登录之后右上角改变 进入登录状态
Citrix virtual desktop tcp/udp transmission protocol switching
After login, the upper right corner changes to enter the login status
【sylar】框架篇-Chapter24-支持业务模块化
Constructor of member function
When import is introduced, sometimes there are braces, sometimes there are no braces. How should we understand this?
MySQL数据库————初识数据库
pytorch_ Lightning in lightning_ The output of hparams.yaml in logs is null
21 openwrt kernel module changed to.Ko automatic loading
Nat fundamentals and private IP
【sylar】框架篇-Chapter20-守护进程模块
CMake使用基础汇总
Important SQL server functions - string utilities
If mongoose exists, it will be updated; if it does not exist, it will be added
重要的 SQL Server 函数 - 日期函数
Information system project manager (2022) - key content: Project Contract Management (13)
RuntimeError: stack expects each tensor to be equal size, but got [8] at entry 0 and [2] at entry 2
[coding and decoding] Huffman coding and decoding based on Matlab GUI [including Matlab source code 1976]