<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.xhsr.org.cn/index.php?action=history&amp;feed=atom&amp;title=%E5%AF%86%E9%92%A5%E6%B4%BE%E7%94%9F%E5%87%BD%E6%95%B0</id>
	<title>密钥派生函数 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.xhsr.org.cn/index.php?action=history&amp;feed=atom&amp;title=%E5%AF%86%E9%92%A5%E6%B4%BE%E7%94%9F%E5%87%BD%E6%95%B0"/>
	<link rel="alternate" type="text/html" href="https://wiki.xhsr.org.cn/index.php?title=%E5%AF%86%E9%92%A5%E6%B4%BE%E7%94%9F%E5%87%BD%E6%95%B0&amp;action=history"/>
	<updated>2026-06-02T21:27:35Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://wiki.xhsr.org.cn/index.php?title=%E5%AF%86%E9%92%A5%E6%B4%BE%E7%94%9F%E5%87%BD%E6%95%B0&amp;diff=3856&amp;oldid=prev</id>
		<title>2024年6月27日 (四) 15:41 镜华酱</title>
		<link rel="alternate" type="text/html" href="https://wiki.xhsr.org.cn/index.php?title=%E5%AF%86%E9%92%A5%E6%B4%BE%E7%94%9F%E5%87%BD%E6%95%B0&amp;diff=3856&amp;oldid=prev"/>
		<updated>2024-06-27T15:41:57Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024年6月27日 (四) 23:41的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;第17行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第17行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#bcrypt： 一种专门为密码哈希设计的 KDF 算法，安全性高，并且可以根据计算能力的提升调整迭代次数，保持长期安全性。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#bcrypt： 一种专门为密码哈希设计的 KDF 算法，安全性高，并且可以根据计算能力的提升调整迭代次数，保持长期安全性。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#scrypt： 一种内存密集型 KDF 算法，需要消耗大量内存进行计算，可以有效抵御硬件加速攻击。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#scrypt： 一种内存密集型 KDF 算法，需要消耗大量内存进行计算，可以有效抵御硬件加速攻击。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[分类:加密技术]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wumoe:diff::1.12:old-3844:rev-3856 --&gt;
&lt;/table&gt;</summary>
		<author><name>镜华酱</name></author>
	</entry>
	<entry>
		<id>https://wiki.xhsr.org.cn/index.php?title=%E5%AF%86%E9%92%A5%E6%B4%BE%E7%94%9F%E5%87%BD%E6%95%B0&amp;diff=3844&amp;oldid=prev</id>
		<title>镜华酱：​创建页面，内容为“密钥派生函数 (Key Derivation Function, KDF) 像是一位密码炼金术士，它可以将你的主密码 (Master Password) 变成无数把不同的密钥 (Derived Keys)，用来保护你的数据安全。  简单来说，KDF 的作用就是：从主密码生成一个或多个密钥。  == 为什么要用KDF？ == #增强密码安全性： 直接使用主密码存在风险，如果主密码泄露，所有数据都会被破解。 KDF 可以将主密码转…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.xhsr.org.cn/index.php?title=%E5%AF%86%E9%92%A5%E6%B4%BE%E7%94%9F%E5%87%BD%E6%95%B0&amp;diff=3844&amp;oldid=prev"/>
		<updated>2024-06-27T15:04:52Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“密钥派生函数 (Key Derivation Function, KDF) 像是一位密码炼金术士，它可以将你的主密码 (Master Password) 变成无数把不同的密钥 (Derived Keys)，用来保护你的数据安全。  简单来说，KDF 的作用就是：从主密码生成一个或多个密钥。  == 为什么要用KDF？ == #增强密码安全性： 直接使用主密码存在风险，如果主密码泄露，所有数据都会被破解。 KDF 可以将主密码转…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;密钥派生函数 (Key Derivation Function, KDF) 像是一位密码炼金术士，它可以将你的主密码 (Master Password) 变成无数把不同的密钥 (Derived Keys)，用来保护你的数据安全。&lt;br /&gt;
&lt;br /&gt;
简单来说，KDF 的作用就是：从主密码生成一个或多个密钥。&lt;br /&gt;
&lt;br /&gt;
== 为什么要用KDF？ ==&lt;br /&gt;
#增强密码安全性： 直接使用主密码存在风险，如果主密码泄露，所有数据都会被破解。 KDF 可以将主密码转换成多个不同的密钥，即使一个密钥泄露，也不会影响其他密钥的安全性。&lt;br /&gt;
#满足不同安全需求： 不同的安全场景需要不同长度、强度的密钥， KDF 可以根据需求生成满足特定条件的密钥。&lt;br /&gt;
#提高抗攻击能力： KDF 通常会使用一些特殊的算法，例如哈希函数、盐值等，使得攻击者难以通过暴力破解的方式获取主密码。&lt;br /&gt;
&lt;br /&gt;
== KDF 的工作原理 ==&lt;br /&gt;
#输入： 主密码、盐值（随机数据，用于增加密钥随机性）、迭代次数（控制密钥生成的时间和计算成本）。&lt;br /&gt;
#计算： 使用特定的算法对输入进行多次迭代计算，生成最终的密钥。&lt;br /&gt;
#输出： 一个或多个满足安全需求的密钥。&lt;br /&gt;
&lt;br /&gt;
== 常见的 KDF 算法 ==&lt;br /&gt;
#PBKDF2 (Password-Based Key Derivation Function 2)： 一种常用的 KDF 算法，可以有效抵御暴力破解和彩虹表攻击。&lt;br /&gt;
#bcrypt： 一种专门为密码哈希设计的 KDF 算法，安全性高，并且可以根据计算能力的提升调整迭代次数，保持长期安全性。&lt;br /&gt;
#scrypt： 一种内存密集型 KDF 算法，需要消耗大量内存进行计算，可以有效抵御硬件加速攻击。&lt;/div&gt;</summary>
		<author><name>镜华酱</name></author>
	</entry>
</feed>