当前位置:网站首页>数字签名标准(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/
边栏推荐
- next(iter(dataloader))的一点点体会
- 【NPOI】C#跨工作薄复制Sheet模板导出Excel
- Concurrent thread safety
- Don't believe it, 98% of programmers are like this
- SIGIR 2022 | 港大等提出超图对比学习在推荐系统中的应用
- Strength and appearance Coexist -- an exclusive interview with Liu Yu, a member of Apache pulsar PMC
- Vue--vuerouter cache routing component
- Niuke network: Design LRU cache structure design LFU cache structure
- Which low code platform is more friendly to Xiaobai? Here comes the professional evaluation!
- 【Unity】在Unity中使用C#执行外部文件,如.exe或者.bat
猜你喜欢

Number of solutions for knapsack problem

Ndroid development from introduction to mastery Chapter 2: view and ViewGroup
![[buuctf.reverse] 126-130](/img/df/e35633d85caeff1dece62a66cb7804.png)
[buuctf.reverse] 126-130

Which low code platform is more friendly to Xiaobai? Here comes the professional evaluation!

Microservice architecture practice: user login and account switching design, order query design of the mall

Platform management background and merchant menu resource management: merchant registration management design

物联网协议的王者:MQTT

玩转Linux,轻松安装配置MySQL

Wechat app mall, review products, upload commodity pictures, and score Commodity Services

No manual prior is required! HKU & Tongji & lunarai & Kuangshi proposed self supervised visual representation learning based on semantic grouping, which significantly improved the tasks of target dete
随机推荐
The difference between round and truncate in SQL (round or truncate)
14《MySQL 教程》INSERT 插入数据
Detailed contract quantification system development scheme and technical description of quantitative contract system development
【NPOI】C#跨工作薄复制Sheet模板导出Excel
When I was in the library, I thought of the yuan sharing mode
Microservice architecture practice: business management background and SSO design, SSO client design
Several key points in divorce agreement
[uniapp] the uniapp mobile terminal uses uni Troubleshooting of navigateback failure
js强制转换
在国金证券开户怎么样?保障安全吗?
Platform management background and merchant menu resource management: access control design of platform management background
Hello, is it safe to open an online stock account and buy stocks now?
[suggested collection] 11 online communities suitable for programmers
Distributed Architecture Overview
力扣每日一题-第28天-566.重塑矩阵
Synchronized description of concurrency
[buuctf.reverse] 126-130
【万字总结】以终为始,详细分析高考志愿该怎么填
玩轉Linux,輕松安裝配置MySQL
Comp281 explanation