当前位置:网站首页>数字签名标准(DSS)
数字签名标准(DSS)
2022-06-26 17:45:00 【lmn_】

0x01 数字签名标准
数字签名标准 (DSS) 是美国国家安全局开发的一种数字签名算法,作为电子文档的身份验证手段。
DSS 创建后,于 1994 年由美国国家标准与技术研究院出版,此后成为美国政府认证电子文档的标准。
DSS 还被指定为联邦信息处理标准 ( FIPS ) 186 中经过验证的身份验证方式。

目前的几个参考文献标准
“FIPS PUB 186-1:数字签名标准 (DSS),1998-12-15” (PDF)。csrc.nist.gov。于 2013 年 12 月 26日从原始 文件 (PDF)存档。
“FIPS PUB 186-2:数字签名标准 (DSS),2000-01-27” (PDF)。csrc.nist.gov。
“FIPS PUB 186-3:数字签名标准 (DSS),2009 年 6 月” (PDF)。csrc.nist.gov。
“FIPS PUB 186-4:数字签名标准(DSS),2013-07-19” (PDF)。csrc.nist.gov。
0x02 数字签名标准运作
数字签名标准包含椭圆曲线数字签名算法 (DSA),以及基于公钥加密标准 #1和美国国家标准协会 X9.31的Rivest-Shamir-Adleman签名定义。
数字签名标准运作过程
- 生成密钥,包括公钥和私钥
- 消息来源创建数字签名
- 接收方验证数字签名
DSS 只为我们提供数字签名功能,不提供任何加密或密钥交换策略。签名是结合使用私钥生成的,验证私钥是参照相应的公钥进行的。
DSS 不同于 RSA 算法使用公钥、私钥和散列函数,而 DSS 使用公钥、私钥、散列函数、随机数和全局公钥。

发送方
在 DSS 方法中,将消息通过数字签名算法,通过消息生成哈希码,并将输入提供给签名函数:
- 哈希码(哈希码从消息中生成,并作为发送方签名函数的输入。)
- 为该特定签名生成的随机数“k”
- 发送者的私钥PR(a)
- 全局公钥PU(g)
接收方
在接收端,对发送者进行验证,验证用于验证发送方发送的消息和签名,生成发送消息的哈希码,通过以下的输入进行验证:
- 接收方生成的哈希码(发送消息的哈希码由接收方通过应用哈希函数生成)
- 签名组件
- 发件人的公钥
- 全局公钥
最后将签名函数与验证函数的输出进行比较,如果两个值匹配,则签名有效。
References: https://www.geeksforgeeks.org/digital-signature-standard-dss/ https://usemynotes.com/what-is-digital-signature-standard/
边栏推荐
- 玩轉Linux,輕松安裝配置MySQL
- 类型多样的石膏PBR多通道贴图素材,速来收藏!
- Distributed Architecture Overview
- MySql 导出数据库中的全部表索引
- 玩转Linux,轻松安装配置MySQL
- When I was in the library, I thought of the yuan sharing mode
- [C language] static modifies local variables
- Vue--vuerouter cache routing component
- The high concurrency system is easy to play, and Alibaba's new 100 million level concurrent design quick notes are really fragrant
- Don't believe it, 98% of programmers are like this
猜你喜欢
![[buuctf.reverse] 126-130](/img/df/e35633d85caeff1dece62a66cb7804.png)
[buuctf.reverse] 126-130

LeetCode——226. Flip binary tree (BFS)

MySQL index

padding百分比操作

Ndroid development from introduction to mastery Chapter 2: view and ViewGroup

Troubleshooting ideas that can solve 80% of faults!

Jouer avec Linux et installer et configurer MySQL facilement

vue--vuerouter缓存路由组件

Here comes the hero League full skin Downloader

Uncover the secret of Agora lipsync Technology: driving portraits to simulate human speech through real-time voice
随机推荐
关于FlowUs这一款国民好笔记
map和filter方法对于稀缺数组的处理
Use middleware to record slow laravel requests
LeetCode——226. 翻轉二叉樹(BFS)
MySQL exports all table indexes in the database
14《MySQL 教程》INSERT 插入数据
Microservice architecture practice: user login and account switching design, order query design of the mall
14 MySQL tutorial insert insert data
js强制转换
Introduction to distributed cache / cache cluster
在国金证券开户怎么样?开户安全吗?
Necessary decorator mode for 3 years' work
The difference between round and truncate in SQL (round or truncate)
离婚协议中的几个重点
Microservice architecture practice: business management background and SSO design: SSO design
SQL injection for Web Security (3)
Environment setup mongodb
Vscode usage - Remote SSH configuration description
Hello, is it safe to open an online stock account and buy stocks now?
Leetcode topic [array] -268- missing numbers