<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hash on Rosist Sallina</title><link>https://rosist-sallina.github.io/tags/hash/</link><description>Recent content from Rosist Sallina</description><generator>Hugo</generator><language>zh-cn</language><managingEditor>sallinarosist@gmail.com (Rosist Sallina)</managingEditor><webMaster>sallinarosist@gmail.com (Rosist Sallina)</webMaster><copyright>本博客所有文章除特别声明外，均采用 BY-NC-SA 许可协议。转载请注明出处！</copyright><lastBuildDate>Mon, 23 Dec 2024 00:00:00 +0800</lastBuildDate><atom:link href="https://rosist-sallina.github.io/tags/hash/index.xml" rel="self" type="application/rss+xml"/><item><title>认证相关</title><link>https://rosist-sallina.github.io/post/hash/</link><pubDate>Mon, 23 Dec 2024 00:00:00 +0800</pubDate><author>sallinarosist@gmail.com (Rosist Sallina)</author><guid>https://rosist-sallina.github.io/post/hash/</guid><description>
<![CDATA[<h1>认证相关</h1><p>作者：Rosist Sallina（sallinarosist@gmail.com）</p>
        
          <h1 id="认证">
<a class="header-anchor" href="#%e8%ae%a4%e8%af%81"></a>
认证
</h1><h2 id="hash与mac">
<a class="header-anchor" href="#hash%e4%b8%8emac"></a>
Hash与MAC
</h2><h3 id="hash">
<a class="header-anchor" href="#hash"></a>
Hash
</h3><ul>
<li>
<p>Hash函数是一种单向函数，在可承受时间内无法逆向破解。</p>
</li>
<li>
<p>Hash函数只用来做摘要，来验证数据的完整性。</p>
</li>
</ul>
<h3 id="mac">
<a class="header-anchor" href="#mac"></a>
MAC
</h3><p>MAC主要分为两种，CMAC(基于块密码)和HMAC(基于Hash函数)。</p>
        
        <hr><p>本文2024-12-23首发于<a href='https://rosist-sallina.github.io/'>Rosist Sallina</a>，最后修改于2024-12-23</p>]]></description><category>学习笔记</category></item></channel></rss>