前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >密码学概述

密码学概述

作者头像
hotarugali
发布2022-03-01 10:26:34
7240
发布2022-03-01 10:26:34
举报

1. 口令

从密码学角度来看,各种网站、系统、软件的登录密码本质上不是密码,而是口令。

2. 密码学的应用

2.1 安全通信

  • HTTPS
  • 实时消息加密
  • WiFi
  • Bluetooth

2.2 磁盘文件加密

  • EFS(Encrypting File System)
  • TrueCrypt
  • Bitlocker

2.3 内容保护

  • CSS(Content Scrambling System)
  • AACS(Advanced Access Control System)

2.4 用户认证

  • Kerberos

3. 加密

3.1 对称加密 symmetric encryption

  • 生成密钥(Key generation,Gen):根据概率算法从密钥空间 K 选择一个密钥k
  • 加密(Encryption,Enc):从消息空间 M 中选择一段消息明文 m,利用密钥 k 进行数据加密,记为 Enc(m,k)
  • 解密(Decryption,Dec):利用密钥 k 对加密密文 c 进行解密,记为 Dec(c,k)
  • 成功获取数据:Dec(Enc(m,k),k)=m

3.2 非对称加密 asymmetric encryption

  • 生成密钥(Key generation,Gen):根据概率算法从密钥空间 K 选择一个公钥和私钥对 (pk,sk)
  • 加密(Encryption,Enc):从消息空间 M 中选择一段消息明文 m,利用公钥 pk进行数据加密,记为 Enc(m,pk)
  • 解密(Decryption,Dec):利用私钥 sk 对加密密文 c 进行解密,记为 Dec(c,sk)
  • 成功获取数据:Dec(Enc(m,pk),sk)=m

4. 基尔霍夫原则 Keys and Kerckhoff’s Principle

系统的保密性不依赖于对加密体制或算法的保密,而仅依赖于密钥。

The cipher method must not be required to be secret and it must be able to fall into the hands of the enemy without any inconvenience.

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2020-07-03,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 1. 口令
  • 2. 密码学的应用
    • 2.1 安全通信
      • 2.2 磁盘文件加密
        • 2.3 内容保护
          • 2.4 用户认证
          • 3. 加密
            • 3.1 对称加密 symmetric encryption
              • 3.2 非对称加密 asymmetric encryption
              • 4. 基尔霍夫原则 Keys and Kerckhoff’s Principle
              领券
              问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档