<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=RC6</id>
	<title>RC6 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://arolstar52-zhtest.hf.space/index.php?action=history&amp;feed=atom&amp;title=RC6"/>
	<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=RC6&amp;action=history"/>
	<updated>2026-07-17T21:34:57Z</updated>
	<subtitle>在这个wiki上该页的修订历史</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://arolstar52-zhtest.hf.space/index.php?title=RC6&amp;diff=3120840&amp;oldid=prev</id>
		<title>imported&gt;InternetArchiveBot：​补救10个来源，并将0个来源标记为失效。) #IABot (v2.0.8</title>
		<link rel="alternate" type="text/html" href="https://arolstar52-zhtest.hf.space/index.php?title=RC6&amp;diff=3120840&amp;oldid=prev"/>
		<updated>2021-02-08T16:51:27Z</updated>

		<summary type="html">&lt;p&gt;补救10个来源，并将0个来源标记为失效。) #IABot (v2.0.8&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{noteTA&lt;br /&gt;
|G1=IT&lt;br /&gt;
}}&lt;br /&gt;
{{more footnotes|date=2009年3月}}&lt;br /&gt;
{{Infobox encryption method&lt;br /&gt;
| name          = RC6&lt;br /&gt;
| image         = [[Image:RC6 Cryptography Algorithm.JPG|300px|center]]&lt;br /&gt;
| caption       = RC6算法的[[费斯妥密码|费斯妥函数]]。&lt;br /&gt;
| designers     = [[罗纳德·李维斯特]]，[[Matt Robshaw]]，[[Ray Sidney]]，[[Yiqun Lisa Yin]]&lt;br /&gt;
| publish date  = 1998&lt;br /&gt;
| derived from  = [[RC5]]&lt;br /&gt;
| derived to    = &lt;br /&gt;
| related to    =&lt;br /&gt;
| certification = [[AES决赛算法]]&lt;br /&gt;
| key size      = 128，192或256位&lt;br /&gt;
| block size    = 128位&lt;br /&gt;
| structure     = [[费斯妥密码]] (Type 2)&amp;lt;ref&amp;gt;{{cite conference |url=https://link.springer.com/chapter/10.1007%2F978-3-642-14623-7_33 |title=On Generalized Feistel Networks |last1=Hoang |first1=Viet Tung |last2=Rogaway |first2=Phillip |date=2010 |publisher=Springer |book-title=LNCS 6223 |pages=613-630 |location=USA |conference=CRYPTO 2010 |access-date=2018-09-27 |archive-date=2018-09-27 |archive-url=https://web.archive.org/web/20180927204226/https://link.springer.com/chapter/10.1007%2F978-3-642-14623-7_33 |dead-url=no }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
| rounds        = 20&lt;br /&gt;
| cryptanalysis =&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
在[[密码学]]中，&amp;#039;&amp;#039;&amp;#039;RC6&amp;#039;&amp;#039;&amp;#039;（&amp;#039;&amp;#039;&amp;#039;Rivest cipher 6&amp;#039;&amp;#039;&amp;#039;）是一个从[[RC5]]衍生而来的[[对称密钥加密|对称]][[分组密码|分组加密算法]]。它由[[罗纳德·李维斯特]]、[[Matt Robshaw]]、Ray Sidney以及 Ray Sidney设计，用以满足與[[高级加密标准]]（AES）[[高级加密标准评选过程|竞赛]]的要求。这个算法的是当时五个决赛候选算法之一，并且还提交给了[[NESSIE]]和[[CRYPTREC]]项目。这是一个专利算法，专利由[[RSA公司]]申请。&lt;br /&gt;
&lt;br /&gt;
RC6拥有128位的[[块大小]]，支持128、192、256位乃至2040位的[[密钥长度]]。像[[RC5]]一样，RC6是可以被参数化的。它也因而支持变长的分组大小、密钥长度以及加密轮数。RC6和RC5在很多方面相似，例如结构、使用基于数据的置换规则、取模加法以及[[异或]]操作。事实上，RC6可以被看做是交织的两组平行的RC5加密。RC6使用了在RC5加密算法中并没有出现的乘法运算，这个运算是为了让置换基于[[字 (计算机)|字]]中每一位，而不是其中的几位。&lt;br /&gt;
&lt;br /&gt;
== 加密和解密 ==&lt;br /&gt;
请注意，密钥扩展算法几乎是和RC5相同的。 唯一的区别是，对于RC6来说，加密密钥中更多的字来自于用户提供的密钥。&amp;lt;syntaxhighlight lang=&amp;quot;C&amp;quot;&amp;gt;&lt;br /&gt;
// Encryption/Decryption with RC6-w/r/b&lt;br /&gt;
// &lt;br /&gt;
// Input:   Plaintext stored in four w-bit input registers A, B, C &amp;amp; D&lt;br /&gt;
// 	r is the number of rounds&lt;br /&gt;
// 	w-bit round keys S[0, ... , 2r + 3]&lt;br /&gt;
// &lt;br /&gt;
// Output: Ciphertext stored in A, B, C, D&lt;br /&gt;
// &lt;br /&gt;
// &amp;#039;&amp;#039;&amp;#039;Encryption Procedure:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	B = B + S[0]&lt;br /&gt;
	D = D + S[1]&lt;br /&gt;
	for i = 1 to r do&lt;br /&gt;
	{&lt;br /&gt;
		t = (B*(2B + 1)) &amp;lt;&amp;lt;&amp;lt; lg w&lt;br /&gt;
		u = (D*(2D + 1)) &amp;lt;&amp;lt;&amp;lt; lg w&lt;br /&gt;
		A = ((A ⊕ t) &amp;lt;&amp;lt;&amp;lt; u) + S[2i]&lt;br /&gt;
		C = ((C ⊕ u) &amp;lt;&amp;lt;&amp;lt; t) + S[2i + 1] &lt;br /&gt;
		(A, B, C, D)  =  (B, C, D, A)&lt;br /&gt;
	}&lt;br /&gt;
	A = A + S[2r + 2]&lt;br /&gt;
	C = C + S[2r + 3]&lt;br /&gt;
&lt;br /&gt;
// &amp;#039;&amp;#039;&amp;#039;Decryption Procedure:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	C = C - S[2r + 3]&lt;br /&gt;
	A = A - S[2r + 2]&lt;br /&gt;
&lt;br /&gt;
	for i = r downto 1 do&lt;br /&gt;
	{&lt;br /&gt;
		(A, B, C, D) = (D, A, B, C)&lt;br /&gt;
		u = (D*(2D + 1)) &amp;lt;&amp;lt;&amp;lt; lg w&lt;br /&gt;
		t = (B*(2B + 1)) &amp;lt;&amp;lt;&amp;lt; lg w&lt;br /&gt;
		C = ((C - S[2i + 1]) &amp;gt;&amp;gt;&amp;gt; t) ⊕ u&lt;br /&gt;
		A = ((A - S[2i]) &amp;gt;&amp;gt;&amp;gt; u) ⊕ t&lt;br /&gt;
	}&lt;br /&gt;
	D = D - S[1]&lt;br /&gt;
	B = B - S[0]&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== NSA“植入”代码中可能使用了RC6 ==&lt;br /&gt;
2016年8月，一些被认为是来自[[方程式组织]]或[[美国国家安全局|国家安全局]]的代码被公开，这些代码&amp;quot;植入&amp;quot;了多种网络安全设备。&amp;lt;ref&amp;gt;{{cite news|url=https://arstechnica.com/security/2016/08/code-dumped-online-came-from-omnipotent-nsa-tied-hacking-group/|title=Confirmed: hacking tool leak came from “omnipotent” NSA-tied group|date=August 16, 2016|work=Ars Technica|accessdate=2018-09-27|archive-date=2017-06-06|archive-url=https://web.archive.org/web/20170606175632/https://arstechnica.com/security/2016/08/code-dumped-online-came-from-omnipotent-nsa-tied-hacking-group/|dead-url=no}}&amp;lt;/ref&amp;gt;所附说明显示，这些程序使用了RC6以确保网络通信的机密性。&amp;lt;ref&amp;gt;{{cite web|url=https://github.com/nneonneo/eqgrp-free-file/blob/master/Firewall/BLATSTING/BLATSTING_20322/opinstructions/install.txt|title=These instructions guide the INSTALLATION of BLATSTING using ELIGIBLEBACHELOR via NOPEN tunnel.|accessdate=2016-08-16|archive-date=2019-02-17|archive-url=https://web.archive.org/web/20190217163523/https://github.com/nneonneo/eqgrp-free-file/blob/master/Firewall/BLATSTING/BLATSTING_20322/opinstructions/install.txt|dead-url=no}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 使用许可 ==&lt;br /&gt;
RC6没有被[[高级加密标准|AES]]选择，因为它不能保证RC6是免费的。{{As of|2017|1}}，来自RSA实验室的RC6的设计者们在他们的官方网站上声明：&amp;lt;ref&amp;gt;{{cite web|url=https://www.emc.com/emc-plus/rsa-labs/standards-initiatives/rc5-and-rc6.htm|title=3.6.4 What are RC5 and RC6?|accessdate=2015-08-02|publisher=[[RSA Laboratories]]|archive-date=2015-07-08|archive-url=https://web.archive.org/web/20150708061724/http://www.emc.com/emc-plus/rsa-labs/standards-initiatives/rc5-and-rc6.htm|dead-url=no}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: &amp;quot;我们强调，&amp;#039;&amp;#039;如果&amp;#039;&amp;#039;RC6被选为AES，在产品中使用该算法，RSA公司将&amp;#039;&amp;#039;不&amp;#039;&amp;#039;要求任何许可证或授权费用&amp;quot;。&lt;br /&gt;
&lt;br /&gt;
强调的词&amp;quot;如果&amp;quot;表明，RSA安全公司可能对任何使用了RC6的产品要求授权许可和支付授权费。RC6是一个专利加密算法([//www.google.com/patents/US5724428 美国专利5,724,428]，[//www.google.com/patents/US5835600 美国专利5,835,600])；但是，专利已经在2015年到2017年间过期。&lt;br /&gt;
&lt;br /&gt;
== 注释 ==&lt;br /&gt;
&lt;br /&gt;
* {{cite web&lt;br /&gt;
| url=http://people.csail.mit.edu/rivest/pubs/RRSY98.pdf&lt;br /&gt;
| title=The RC6 Block Cipher&lt;br /&gt;
| first1=R.L.&lt;br /&gt;
| last1=Pavan&lt;br /&gt;
| first2=M.J.B.&lt;br /&gt;
| last2=Robshaw&lt;br /&gt;
| first3=R.&lt;br /&gt;
| last3=Sidney&lt;br /&gt;
| first4=Y.L.&lt;br /&gt;
| last4=Yin.&lt;br /&gt;
| date=1998-08-20&lt;br /&gt;
| version=v1.1&lt;br /&gt;
| accessdate=2015-08-02&lt;br /&gt;
| archive-date=2015-10-10&lt;br /&gt;
| archive-url=https://web.archive.org/web/20151010114230/http://people.csail.mit.edu/rivest/pubs/RRSY98.pdf&lt;br /&gt;
| dead-url=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
* {{cite web&lt;br /&gt;
| url=http://perso.ens-lyon.fr/jean-luc.beuchat/Publications/fpl2003.pdf&lt;br /&gt;
| title=FPGA Implementations of the RC6 Block Cipher&lt;br /&gt;
| first=Jean-Luc&lt;br /&gt;
| last=Beuchat&lt;br /&gt;
| archiveurl=https://web.archive.org/web/20060505225326/http://perso.ens-lyon.fr/jean-luc.beuchat/Publications/fpl2003.pdf&lt;br /&gt;
| archivedate=2006-05-05&lt;br /&gt;
| deadurl=yes&lt;br /&gt;
| accessdate=2018-09-27&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
* {{cite web&lt;br /&gt;
| url=https://www.theregister.co.uk/2013/12/31/nsa_weapons_catalogue_promises_pwnage_at_the_speed_of_light/&lt;br /&gt;
| title=How the NSA hacks PCs, phones, routers, hard disks &amp;#039;at speed of light&amp;#039;: Spy tech catalog leaks&lt;br /&gt;
| first=Iain&lt;br /&gt;
| last=Thompson&lt;br /&gt;
| date=2013-12-31&lt;br /&gt;
| publisher=[[The Register]]&lt;br /&gt;
| accessdate=2015-08-02&lt;br /&gt;
| archive-date=2015-08-10&lt;br /&gt;
| archive-url=https://web.archive.org/web/20150810111740/http://www.theregister.co.uk/2013/12/31/nsa_weapons_catalogue_promises_pwnage_at_the_speed_of_light/&lt;br /&gt;
| dead-url=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== 参考资料 ==&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
== 外部链接 ==&lt;br /&gt;
&lt;br /&gt;
* {{cite web&lt;br /&gt;
| url=http://embeddedsw.net/Cipher_Reference_Home.html#RC6&lt;br /&gt;
| title=Cryptography - 256 bit Ciphers: Reference source code and submissions to international cryptographic designs contests&lt;br /&gt;
| accessdate=2018-09-27&lt;br /&gt;
| archive-date=2011-09-26&lt;br /&gt;
| archive-url=https://web.archive.org/web/20110926210349/http://embeddedsw.net/Cipher_Reference_Home.html#RC6&lt;br /&gt;
| dead-url=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
* {{cite web&lt;br /&gt;
| url=http://www.users.zetnet.co.uk/hopwood/crypto/scan/cs.html#RC6&lt;br /&gt;
| title=Symmetric Ciphers: RC6&lt;br /&gt;
| publisher=Standard Cryptographic Algorithm Naming (SCAN)&lt;br /&gt;
| date=2009-04-15&lt;br /&gt;
| accessdate=2018-09-27&lt;br /&gt;
| archive-date=2012-01-28&lt;br /&gt;
| archive-url=https://www.webcitation.org/652BeKiUl?url=http://www.users.zetnet.co.uk/hopwood/crypto/scan/cs.html#RC6&lt;br /&gt;
| dead-url=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
* {{cite web&lt;br /&gt;
| url=https://www.emc.com/emc-plus/rsa-labs/historical/rc6-block-cipher.htm&lt;br /&gt;
| title=RC6® Block Cipher&lt;br /&gt;
| publisher=[[RSA Laboratories]]&lt;br /&gt;
| accessdate=2018-09-27&lt;br /&gt;
| archive-date=2016-03-04&lt;br /&gt;
| archive-url=https://web.archive.org/web/20160304055032/https://www.emc.com/emc-plus/rsa-labs/historical/rc6-block-cipher.htm&lt;br /&gt;
| dead-url=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Cryptography navbox | block}}&lt;br /&gt;
&lt;br /&gt;
[[Category:分组密码]]&lt;/div&gt;</summary>
		<author><name>imported&gt;InternetArchiveBot</name></author>
	</entry>
</feed>