⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 12-15.html

📁 Wiley - Applied Cryptography, Protocols, Algorthms, and Source Code in C
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<HTML>
<HEAD>
<META name=vscategory content="Security Programming Languages"><META name=vsisbn content="0471128457"><META name=vstitle content="Applied Cryptography, Second Edition: Protocols,  Algorthms, and Source Code in C (cloth)"><META name=vsauthor content="Bruce Schneier"><META name=vsimprint  content="Wiley Computer Publishing "><META name=vspublisher content="John Wiley & Sons, Inc."><META name=vspubdate content="1/1/96"><TITLE>APPLIED CRYPTOGRAPHY, SECOND EDITION: Protocols, Algorithms, and Source Code in C:Data Encryption Standard (DES)</TITLE>
<!-- BEGIN HEADER --><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"><SCRIPT><!--function displayWindow(url, width, height) {        var Win = window.open(url,"displayWindow",'width=' + width +',height=' + height + ',resizable=1,scrollbars=yes');}//--></SCRIPT></HEAD><body bgcolor="ffffff" link="#006666" alink="#006666" vlink="#006666">	<table width="640" border="0" cellpadding="0" cellspacing="0">		<tr valign="top">		<td><!--  Begin Ads ITKBAN.BOOKS //--><a href="/adclick.html/CID=00000b8333d6f71200000000/site=itknowledge/area=itk.books/aamsz=468x60" TARGET="_blank">
<img src="http://ad.preferences.com/image;spacedesc=NonStop_EarthWeb_468x60_ITDecisionMaker_Any&time=27104"></a>
<!-- http://ad.preferences.com/click;spacedesc=NonStop_EarthWeb_468x60_ITDecisionMaker_Any&time=27104 --><!-- ITKBAN.BOOKS End Ads //--></td>		<td><!--  Begin Ads ITKBAN //--><CENTER><A HREF="/adclick.html/CID=00000b452954e8a400000000/site=itknowledge/area=itk/aamsz=160x60/position=top" TARGET=_top><IMG BORDER=0 SRC="http://adimages.earthweb.com/images/ads/160x60/compaq_dtm_sponsor.gif" ALT="" ></A><BR><A HREF="/adclick.html/CID=00000b452954e8a400000000/site=itknowledge/area=itk/aamsz=160x60/position=top" TARGET=_top></A></CENTER><BR><!-- ITKBAN End Ads //--></td>		</tr>		<tr><td height="1" colspan="2" bgcolor="#CCCCCC"><img src="/images/white.gif" border=0 alt=""></td></tr>	</TABLE><!-- END HEADER --><!-- BEGIN SUB HEADER -->		<table bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0" width="100%"> 				<!-- ITK LOGO Banner -->		<tr>		<td align="left" valign="top" bgcolor="#FFFFFF"><script>function GetCookie (name){   var arg = name + "=";   var alen = arg.length;   var clen = document.cookie.length;   var i = 0;   while (i < clen)   {      var j = i + alen;      if (document.cookie.substring(i, j) == arg) {         var end = document.cookie.indexOf (";", j);         if (end == -1)            end = document.cookie.length;         return unescape(document.cookie.substring(j, end));      }      i = document.cookie.indexOf(" ", i) + 1;      if (i == 0) break;   }   return null;}var m1='<IMG SRC="';var m2='/images/itk-logo.gif';var m3='" VSPACE="10" WIDTH=434 HEIGHT=58 ALT="ITKnowledge" border="0">';var gifstr=GetCookie("UsrType");if((gifstr!=0 )  && (gifstr!=null)) { m2=gifstr; }document.write(m1+m2+m3);</script></td>	</tr><!-- END of ITK LOGO Banner -->	<!-- ITK TOPNAV -->		<tr>		<td align="left" valign="top" nowrap><a href="/"><img src="/images/home1.gif" width=38 height=37 alt="home" border="0"></a>&nbsp;<a href="/pick-account.html"><img src="/images/accountinfo.gif" width=70 height=37 alt="account info" border="0"></a>&nbsp;<a href="/PSUser/usrreg.htm?AdminAction=InitAdd&Locale=en&URI=/"><img src="/images/subscribe2.gif" width=56 height=37 alt="subscribe" border="0" hspace="6"></a>&nbsp;<a href="/PSUser/psuserauth.htm?cmd=login&URI=/"><img src="/images/login1.gif" width=33 height=37 alt="login" hspace="5" border="0"></a>&nbsp;<a href="/search/"><img src="/images/search1.gif" width=43 height=37 alt="search" border="0" hspace="10"></a>&nbsp;<a href="/faq/faq.html"><img src="/images/faqs1.gif" width=40 height=37 alt="FAQ/help" border="0" hspace="0"></a>&nbsp;<a href="/sitemap.html"><img src="/images/sitemap1.gif" width=46 height=37 alt="site map" border="0" hspace="2"></a>&nbsp;<a href="/contactus.html"><img src="/images/contact1.gif" width=61 height=37 alt="contact us" border="0" hspace="4"></a><br>		<img src="/images/white.gif" width="1" height="5" alt="" border="0"></td>  		</tr></table><!-- END of ITK TOPNAV -->				<!-- begin of ITK left NAV --><!-- BEGIN LEFT NAV -->	<table width=99% border="0" cellpadding="2" cellspacing="0">		<tr>		<td bgcolor="#ffffff" width=120 valign="top" rowspan=8>								<form name="Search" method="GET" action="http://search.earthweb.com/search97/search_redir.cgi">			<INPUT TYPE="hidden" NAME="Action" VALUE="Search">			<INPUT TYPE="hidden" NAME="SearchPage" VALUE="http://search.earthweb.com/search97/samples/forms/srchdemo.htm">			<INPUT TYPE="hidden" NAME="Collection" VALUE="ITK">			<INPUT TYPE="hidden" NAME="ViewTemplate" VALUE="view.hts">														<img src="/images/search5.gif" width=115 height=27 alt="" border="0"><br>			<img src="/images/white.gif" width="1" height="5" alt="" border="0"><br>		<table width="116" height="135"  bgcolor="#e0e0e0" border="1" bordercolor="#006666" cellpadding="3" cellspacing="0">		<tr>		<td width="116"><input type="text" name="metaqueryText" value="" size="8">&nbsp;<input type="submit" name="submitbutton" value="Go!">			<INPUT type="hidden" NAME="section_on" VALUE="on">			<font face="Arial,helvetica" size="1">			<SELECT NAME="metatags" style="font-size: 10; font-family: sans-serif;" size="1">			<option value="keyword" SELECTED>Keyword			<option value="vstitle">Title			<option value="vsauthor">Author			<option value="vsisbn">ISBN			<option value="vspublisher">Publisher			<option value="vsimprint">Imprint			</SELECT></font><br>			<input type="radio" name="ResultTemplate" value="itk-brief.hts" checked style="background-color: #e0e0e0;"><font face="arial, helvetica" color="#006666" size="1">Brief</font>			<input type="radio" name="ResultTemplate" value="itk-full.hts" style="background-color: #e0e0e0;"><font face="arial, helvetica" color="#006666" size="1">Full</font><br>			<font face="arial, helvetica" size="1">			<img src="/images/bullet.gif" width=5 height=5 hspace="5" alt="" border="0">&nbsp;<a href="/search/"><font color="#006666">Advanced</font></a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="/search/"><font color="#006666">Search</font></a><br>			<img src="/images/bullet.gif" width=5 height=5 hspace="5" alt="" border="0">&nbsp;<a href="/search/search-tips.html"><font color="#006666">Search Tips</font></a>			</font></td></tr></table>	</form><!-- BROWSE BY TOPIC -->				<form action="" name="catlist">					<img src="/images/browse5.gif" width=115 height=34 alt="" border="0"><table width="120" height="32" border="1" cellspacing="0" cellpadding="3" bordercolor="#006666" bgcolor="#e0e0e0">				<tr>				<td width="117" align="center">			<font face="Arial,helvetica" size="1">			<SELECT NAME="cat" onChange='top.location.href=this.options[selectedIndex].value;' style="font-size: 10; font-family: sans-serif;">			<option value="" selected>Please Select			<option value="">-----------			<option value="/reference/dir.components.html">Components			<option value="/reference/dir.contentmanagement.html">Content Mgt			<option value="/reference/dir.certification1.html">Certification			<option value="/reference/dir.databases.html">Databases			<option value="/reference/dir.enterprisemanagement1.html">Enterprise Mgt			<option value="/reference/dir.funandgames1.html">Fun/Games			<option value="/reference/dir.groupwareandcollaboration1.html">Groupware			<option value="/reference/dir.hardware1.html">Hardware			<option value="/reference/dir.intranetandextranetdevelopment1.html">Intranet Dev			<option value="/reference/dir.middleware.html">Middleware			<option value="/reference/dir.multimediaandgraphicdesign1.html">Multimedia			<option value="/reference/dir.networkservices1.html">Networks 			<option value="/reference/dir.operatingsystems.html">OS			<option value="/reference/dir.productivityapplications1.html">Prod Apps			<option value="/reference/dir.programminglanguages.html">Programming			<option value="/reference/dir.security1.html">Security				<!-- <option value="/reference/dir.ewtraining1.html">Training Guides -->			<option value="/reference/dir.userinterfaces.html">UI			<option value="/reference/dir.webservices.html">Web Services			<option value="/reference/dir.webmasterskills1.html">Webmaster			<option value="/reference/dir.y2k1.html">Y2K			<option value="">-----------			<option value="/reference/whatsnew.html">New Titles			<option value="">-----------			<option value="/reference/dir.archive1.html">Free Archive					</SELECT>			</font></td>	</tr>	</table>	</form><!-- LEFT NAV SEARCH END -->		</td>		<!-- PUB PARTNERS END --><!-- END LEFT NAV --><td rowspan="8" align="right" valign="top"><img src="/images/iswbls.gif" width=1 height=400 alt="" border="0"></td><td><img src="/images/white.gif" width="5" height="1" alt="" border="0"></td><!-- end of ITK left NAV --><!-- begin main content --><td width="100%" valign="top" align="left"><!-- END SUB HEADER -->

<!--Begin Content Column -->

<FONT FACE="Arial,Helvetica" SIZE="-1">
To access the contents, click the chapter and section titles.
</FONT>
<P>
<B>Applied Cryptography, Second Edition: Protocols,  Algorthms, and Source Code in C (cloth)</B>
<FONT SIZE="-1">
<BR>
<I>(Publisher: John Wiley & Sons, Inc.)</I>
<BR>
Author(s): Bruce Schneier
<BR>
ISBN: 0471128457
<BR>
Publication Date: 01/01/96
</FONT>
<P>
<form name="Search" method="GET" action="http://search.earthweb.com/search97/search_redir.cgi">

<INPUT TYPE="hidden" NAME="Action" VALUE="Search">
<INPUT TYPE="hidden" NAME="SearchPage" VALUE="http://search.earthweb.com/search97/samples/forms/srchdemo.htm">
<INPUT TYPE="hidden" NAME="Collection" VALUE="ITK">
<INPUT TYPE="hidden" NAME="ResultTemplate" VALUE="itk-full.hts">
<INPUT TYPE="hidden" NAME="ViewTemplate" VALUE="view.hts">

<font face="arial, helvetica" size=2><b>Search this book:</b></font><br>
<INPUT NAME="queryText" size=50 VALUE="">&nbsp;<input type="submit" name="submitbutton" value="Go!">
<INPUT type=hidden NAME="section_on" VALUE="on">
<INPUT type=hidden NAME="section" VALUE="http://www.itknowledge.com/reference/standard/0471128457/">

</form>


<!-- Empty Reference Subhead -->

<!--ISBN=0471128457//-->
<!--TITLE=APPLIED CRYPTOGRAPHY, SECOND EDITION: Protocols, Algorithms, and Source Code in C//-->
<!--AUTHOR=Bruce Schneier//-->
<!--PUBLISHER=Wiley Computer Publishing//-->
<!--CHAPTER=12//-->
<!--PAGES=297-299//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->

<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="12-14.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="12-16.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P><FONT SIZE="+1"><B><I>RDES</I></B></FONT></P>
<P>RDES is a variant that replaces swapping the left and right halves at the end of each round with a key-dependent swap [893]. The swappings are fixed, depending solely on the key. This means that the 15 key-dependent swaps occur with 2<SUP>15</SUP> possible instances, and that the variant is not resistant to differential cryptanalysis [816,894,112]. RDES has a large number of weak keys. In fact, almost every key is weaker than a typical DES key. This variant should not be used.</P>
<P>A better idea is to swap only within the right half, at the beginning of each round. Another better idea is to make the swapping dependent on the input data and not a static function of the key. There are a number of possible variants [813,815]. In RDES-1, there is a data-dependent swap of the 16-bit words at the beginning of each round. In RDES-2, there is a data-dependent swap of the bytes at the beginning of each round after the 16-bit swappings as in RDES-1. And so on through RDES-4. RDES-1 is secure against both differential cryptanalysis [815] and linear cryptanalysis [1136]. Presumably RDES-2 and greater are as well.</P>
<TABLE WIDTH="70%"><TR>
<TH CAPTION COLSPAN="12" ALIGN="CENTER">Table 12.15<BR>Differential Cryptanalysis Attacks against DES Variants
<TR>
<TD COLSPAN="2"><HR>
<TR>
<TH WIDTH="45%" VALIGN="TOP" ALIGN="CENTER">Modified Operation       
<TH WIDTH="25%" VALIGN="TOP" ALIGN="CENTER">Chosen Plaintexts
<TR>
<TD COLSPAN="2"><HR>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">Full DES (no modification)      
<TD VALIGN="TOP" ALIGN="CENTER">2<SUP>47</SUP>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">P permutation    
<TD VALIGN="TOP" ALIGN="CENTER">Cannot strengthen
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">&nbsp;&nbsp;&nbsp;Identity permutation  
<TD VALIGN="TOP" ALIGN="CENTER">2<SUP>19</SUP>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">Order of S-boxes      
<TD VALIGN="TOP" ALIGN="CENTER">2<SUP>38</SUP>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">Replace XORs by additions     
<TD VALIGN="TOP" ALIGN="CENTER">2<SUP>39,</SUP> 2<SUP>31</SUP>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">S-boxes:
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">&nbsp;&nbsp;&nbsp;Random    
<TD VALIGN="TOP" ALIGN="CENTER">2<SUP>18</SUP>&#150;2<SUP>20</SUP>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">&nbsp;&nbsp;&nbsp;Random permutations    
<TD VALIGN="TOP" ALIGN="CENTER">2<SUP>33</SUP>&#150;2<SUP>41</SUP>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">&nbsp;&nbsp;&nbsp;One entry      
<TD VALIGN="TOP" ALIGN="CENTER">2<SUP>33</SUP>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">&nbsp;&nbsp;&nbsp;Uniform tables        
<TD VALIGN="TOP" ALIGN="CENTER">2<SUP>26</SUP>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">Elimination of the E Expansion        
<TD VALIGN="TOP" ALIGN="CENTER">2<SUP>26</SUP>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">Order of E and subkey XOR     
<TD VALIGN="TOP" ALIGN="CENTER">2<SUP>44</SUP>
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">GDES (width q = 8):
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">&nbsp;&nbsp;&nbsp;16 rounds      
<TD VALIGN="TOP" ALIGN="CENTER">6, 16
<TR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -