锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品亚洲综合一区在线观看,免费欧美视频,一区二区三区四区五区精品 http://www.aygfsteel.com/hllwuxin/category/26004.html鍒櫎鏄ㄥぉ鍟茬叐鎯?錒栭伕鎿囦粖澶╁暡蹇▊.錒栬ō緗槑澶╁暡騫哥.錒?zh-cnFri, 25 Sep 2009 03:38:31 GMTFri, 25 Sep 2009 03:38:31 GMT60[杞琞MyEclipse7.1鎻掍歡瀹夎 http://www.aygfsteel.com/hllwuxin/archive/2009/09/08/294335.html鍎泤錛つ涢牻寤?/dc:creator>鍎泤錛つ涢牻寤?/author>Tue, 08 Sep 2009 09:23:00 GMThttp://www.aygfsteel.com/hllwuxin/archive/2009/09/08/294335.htmlhttp://www.aygfsteel.com/hllwuxin/comments/294335.htmlhttp://www.aygfsteel.com/hllwuxin/archive/2009/09/08/294335.html#Feedback0http://www.aygfsteel.com/hllwuxin/comments/commentRss/294335.htmlhttp://www.aygfsteel.com/hllwuxin/services/trackbacks/294335.html鏈榪戝垰浣跨敤MyEclise 7.1 錛屽彂鐜版湡鎻掍歡瀹夎涓庝互鍓嶆湁鎵涓嶅悓銆?

MyEclipse 7.1 鐨勫畨瑁呯洰褰曠粨鏋勫涓嬶細

view plaincopy to clipboardprint?
1. Genuitec    
2.        鈹溾攢Common    
3.        鈹?nbsp; 鈹溾攢configuration    
4.        鈹?nbsp; 鈹溾攢features    
5.        鈹?nbsp; 鈹斺攢plugins    
6.        鈹斺攢MyEclipse 7.1    
7.            鈹溾攢configuration    
8.            鈹斺攢dropins   
   1. Genuitec 
   2.        鈹溾攢Common 
   3.        鈹?nbsp; 鈹溾攢configuration 
   4.        鈹?nbsp; 鈹溾攢features 
   5.        鈹?nbsp; 鈹斺攢plugins 
   6.        鈹斺攢MyEclipse 7.1 
   7.            鈹溾攢configuration 
   8.            鈹斺攢dropins   鏈鏂扮殑鎻掍歡瀹夎鏂瑰紡錛岃姹傚皢鎻掍歡瀹夎鍦ㄤ笂鍥句腑鐨刣ropins鑺傜偣銆傚茍涓旇姹備互濡備笅緇撴瀯瀹夎

dropins-->鎻掍歡鏂囦歡澶?鍙敱瀹夎鑰呭畾鍒?-->eclipse-->plugins+features

渚嬪錛屾垜浠at鎻掍歡浣滀負瀹夎紺轟緥錛岀洰褰曠粨鏋勫浘濡備笅錛?

view plaincopy to clipboardprint?
 1. Genuitec    
 2.     鈹溾攢Common    
 3.     鈹?nbsp; 鈹溾攢configuration    
 4.     鈹?nbsp; 鈹溾攢features    
 5.     鈹?nbsp; 鈹斺攢plugins    
 6.     鈹斺攢MyEclipse 7.1    
 7.         鈹溾攢configuration    
 8.         鈹斺攢dropins    
 9.             鈹斺攢fat    
10.                 鈹斺攢eclipse    
11.                     鈹溾攢features    
12.                     鈹斺攢plugins    
13.                         鈹斺攢net.sf.fjep.fatjar_0.0.31(鎻掍歡)   
   1. Genuitec 
   2.     鈹溾攢Common 
   3.     鈹?nbsp; 鈹溾攢configuration 
   4.     鈹?nbsp; 鈹溾攢features 
   5.     鈹?nbsp; 鈹斺攢plugins 
   6.     鈹斺攢MyEclipse 7.1 
   7.         鈹溾攢configuration 
   8.         鈹斺攢dropins 
   9.             鈹斺攢fat 
  10.                 鈹斺攢eclipse 
  11.                     鈹溾攢features 
  12.                     鈹斺攢plugins 
  13.                         鈹斺攢net.sf.fjep.fatjar_0.0.31(鎻掍歡)   瀹夎濂藉悗閲嶆柊鍚姩MyEclipse7 .1 ,鎻掍歡鐨勬晥鏋滃氨鍑烘潵浜?-褰撶劧鍓嶆彁鏄綘鐨勬彃浠舵敮鎸佸綋鍓峞clipse鐗堟湰銆?

 

鏈枃鏉ヨ嚜CSDN鍗氬錛岃漿杞借鏍囨槑鍑哄錛歨ttp://blog.csdn.net/guo_rui22/archive/2009/07/07/4327539.aspx



]]>
Eclipse鎻掍歡綆$悊http://www.aygfsteel.com/hllwuxin/archive/2008/07/13/214610.html鍎泤錛つ涢牻寤?/dc:creator>鍎泤錛つ涢牻寤?/author>Sun, 13 Jul 2008 11:31:00 GMThttp://www.aygfsteel.com/hllwuxin/archive/2008/07/13/214610.htmlhttp://www.aygfsteel.com/hllwuxin/comments/214610.htmlhttp://www.aygfsteel.com/hllwuxin/archive/2008/07/13/214610.html#Feedback0http://www.aygfsteel.com/hllwuxin/comments/commentRss/214610.htmlhttp://www.aygfsteel.com/hllwuxin/services/trackbacks/214610.htmlEclipse鎻掍歡綆$悊

    鎻愮ず錛氭柊涓嬭澆鐨勬彃浠禤lugIn涓瀹氫笉瑕侀兘鏀懼湪鍘熷鐨凟clipse鐩綍涓嬪幓錛屼竴澶у爢錛岀瘡姝諱綘錛氾紙

  1. 鍓嶆彁鏄綘宸茬粡涓嬭澆瑙e帇騫惰緗ソEclipse宸ュ叿錛屾瘮濡傝В鍘嬪湪E:\OpenSource\Eclipse\鐩綍涓嬶紝浠ヤ笅榪欎釜鐩綍浠?ECLIPSE_HOME%鏉ヨ繘琛岃〃紺猴紱
  2. 姝ゆ椂榛樿鐨勬彃浠舵槸鍦?ECLIPSE_HOME%\plugins鐩綍涓殑錛?
  3. 鍦?ECLIPSE_HOME%涓嬪緩绔嬩竴涓狿lugInsNew鐨勭洰褰曪紱

    銆銆姣斿錛欵:\OpenSource\Eclipse\PlugInsNew

  4. 濡傛灉浣犱笅杞戒簡涓涓柊鐨勬彃浠訛紝姣斿鍙仛錛歑YZ

    銆銆閭d箞灝卞湪%ECLIPSE_HOME%\PlugInsNew\鐩綍涓嬪緩绔媂YZ鐩綍錛岀洰褰曢噷闈㈡槸eclipse鐩綍錛宔clipse鐩綍鍖呭惈鏈塮eatures涓巔lugins涓や釜瀛愮洰褰曪紱緇撴瀯濡備笅鍥炬墍紺猴細

    鍥?

  5. 鎶婁笅杞界殑鏂版彃浠剁殑鏂囦歡鏀懼湪浠ヤ笅鐩稿簲鐩綍涓紱

    銆銆%ECLIPSE_HOME%\PlugInsNew\XYZ\eclipse\features

    銆銆%ECLIPSE_HOME%\PlugInsNew\ XYZ\eclipse\plugins

  6. 寤虹珛鐩稿叧鐨?link鐨勬枃浠訛紱

    銆銆鐒跺悗鍦?ECLIPSE_HOME%\links鐩綍閲屽緩绔嬩竴涓猉YZ.link鐨勬枃浠?/p>

    銆銆鍐呭濡傛槸錛?/p>

    銆銆path=E:/OpenSource/Eclipse/PlugInsNew/XYZ

    銆銆灝變竴琛岃繖鏍風殑璺緞鎸囩ず鑰屽凡銆?/p>

    銆銆榪欐牱錛屽鏋滀綘涓嬭澆浜嗗涓彃浠跺氨鍙互濡傛硶鐐埗寤虹珛澶氫釜Link鏂囦歡錛屾兂鍔犺澆鍝釜鎻掍歡灝辨妸鍝釜鎻掍歡鐨凩ink鏂囦歡鏀懼埌%ECLIPSE_HOME%\links鐨勭洰褰曚腑鍗沖彲錛屼嬌鐢ㄤ笌綆$悊閮藉緢鏂逛究錛屽緩璁崈涓囦笉瑕佹斁鍦ㄩ粯璁ょ殑瀹夎鐩綍涓紝榪欐牱瀵逛簬鍗囩駭Eclipse涓葷▼搴忎篃鏂逛究涓浜涳紱褰撶劧濡傛灉浣犲枩嬈㈢敤Find and Install…榪涜瀹夎鐨勮瘽涔熷彲浠ョ殑錛?/p>

    銆銆濡傛灉涓婇潰浣犵殑%ECLIPSE_HOME%涓庢涓嶅悓錛岃淇敼XYZ.link鏂囦歡閲岀殑璺緞銆?/p>

  7. 鍒犻櫎鎻掍歡錛屽厛鍏抽棴Eclipse錛?

    銆銆鍒犻櫎%ECLIPSE_HOME%\links\XYZ.link鏂囦歡鍗沖彲

    銆銆鍒犻櫎%ECLIPSE_HOME%\PlugInsNew\XYZ鏁翠釜鐩綍鍙婃枃浠?/p>

  8. 閲嶆柊鍚姩Eclipse錛岃繖鏍峰氨鍙互浜嗐傚鏋滄彃浠舵病鏈夌敓鏁堟垨鑰呮病鏈夊垹闄わ紝璇峰姞涓?clean榪涜鍚姩Eclipse錛屽嵆Eclipse.exe –clean
  9. 鎻掍歡瀹夎楠岃瘉鍙婅褰曡瑙侊細Eclipse鐨剋orkspace涓嬮潰鐨?metadata\.log鏂囦歡錛屾瘮濡傦細%ECLIPSE_HOME%\workspace\.metadata\.log鏂囦歡錛屾湁闂鐨勮瘽錛屾墦寮榪欎釜鏂囦歡鐪嬬湅騫惰繘琛岃В鍐熾?
  10. 杞澆鍒漢鐨勶紝甯屾湜澶у閮借兘瀛︿範錛侊紒錛?/li>


]]>
MD5綆楁硶鐨刯ava鐗堟湰錛堣漿錛?/title><link>http://www.aygfsteel.com/hllwuxin/archive/2007/09/19/146571.html</link><dc:creator>鍎泤錛つ涢牻寤?/dc:creator><author>鍎泤錛つ涢牻寤?/author><pubDate>Wed, 19 Sep 2007 10:56:00 GMT</pubDate><guid>http://www.aygfsteel.com/hllwuxin/archive/2007/09/19/146571.html</guid><wfw:comment>http://www.aygfsteel.com/hllwuxin/comments/146571.html</wfw:comment><comments>http://www.aygfsteel.com/hllwuxin/archive/2007/09/19/146571.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/hllwuxin/comments/commentRss/146571.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/hllwuxin/services/trackbacks/146571.html</trackback:ping><description><![CDATA[<div> <div>package DPS.AuthCom.Radius;</div> <div><br /> /*************************************************<br /> md5 綾誨疄鐜頒簡RSA Data Security, Inc.鍦ㄦ彁浜ょ粰IETF<br /> 鐨凴FC1321涓殑MD5 message-digest 綆楁硶銆?br /> *************************************************/</div> <div>public class MD55<br /> {<br />   /* 涓嬮潰榪欎簺S11-S44瀹為檯涓婃槸涓涓?*4鐨勭煩闃碉紝鍦ㄥ師濮嬬殑C瀹炵幇涓槸鐢?define 瀹炵幇鐨勶紝<br />     榪欓噷鎶婂畠浠疄鐜版垚涓簊tatic final鏄〃紺轟簡鍙錛屽垏鑳藉湪鍚屼竴涓繘紼嬬┖闂村唴鐨勫涓?br />     Instance闂村叡浜?/<br />   static final int S11 = 7;<br />   static final int S12 = 12;<br />   static final int S13 = 17;<br />   static final int S14 = 22;</div> <div>  static final int S21 = 5;<br />   static final int S22 = 9;<br />   static final int S23 = 14;<br />   static final int S24 = 20;</div> <div>  static final int S31 = 4;<br />   static final int S32 = 11;<br />   static final int S33 = 16;<br />   static final int S34 = 23;</div> <div>  static final int S41 = 6;<br />   static final int S42 = 10;<br />   static final int S43 = 15;<br />   static final int S44 = 21;</div> <div>  static final byte[] PADDING =<br />       {<br />        -128, 0, 0, 0, 0, 0, 0, 0, 0,<br />       0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,<br />       0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,<br />       0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};<br />   /* 涓嬮潰鐨勪笁涓垚鍛樻槸MD5璁$畻榪囩▼涓敤鍒扮殑3涓牳蹇冩暟鎹紝鍦ㄥ師濮嬬殑C瀹炵幇涓?br />      琚畾涔夊埌MD5_CTX緇撴瀯涓?/div> <div>   */<br />   private long[] state = new long[4]; // state (ABCD)<br />   private long[] count = new long[2]; // number of bits, modulo 2^64 (lsb first)<br />   private byte[] buffer = new byte[64]; // input buffer</div> <div>  /* digestHexStr鏄疢D5鐨勫敮涓涓涓叕鍏辨垚鍛橈紝鏄渶鏂頒竴嬈¤綆楃粨鏋滅殑<br />     銆 16榪涘埗ASCII琛ㄧず.<br />    */<br />   public String digestHexStr;</div> <div>  /* digest,鏄渶鏂頒竴嬈¤綆楃粨鏋滅殑2榪涘埗鍐呴儴琛ㄧず錛岃〃紺?28bit鐨凪D5鍊?<br />    */<br />   private byte[] digest = new byte[16];</div> <div>  /*<br />     getMD5ofStr鏄被MD5鏈涓昏鐨勫叕鍏辨柟娉曪紝鍏ュ彛鍙傛暟鏄綘鎯寵榪涜MD5鍙樻崲鐨勫瓧絎︿覆<br />     榪斿洖鐨勬槸鍙樻崲瀹岀殑緇撴灉錛岃繖涓粨鏋滄槸浠庡叕鍏辨垚鍛榙igestHexStr鍙栧緱鐨勶紟<br />    */<br />   public String getMD5ofStr(String inbuf)<br />   {<br />     md5Init();<br />     md5Update(inbuf.getBytes(), inbuf.length());<br />     md5Final();<br />     digestHexStr = "";<br />     for (int i = 0; i < 16; i++)<br />     {<br />       digestHexStr += byteHEX(digest[i]);<br />     }<br />     return digestHexStr;<br />   }</div> <div>  // 榪欐槸MD5榪欎釜綾葷殑鏍囧噯鏋勯犲嚱鏁幫紝JavaBean瑕佹眰鏈変竴涓猵ublic鐨勫茍涓旀病鏈夊弬鏁扮殑鏋勯犲嚱鏁?br />   public MD55()<br />   {<br />     md5Init();</div> <div>    return;<br />   }</div> <div>  /* md5Init鏄竴涓垵濮嬪寲鍑芥暟錛屽垵濮嬪寲鏍稿績鍙橀噺錛岃鍏ユ爣鍑嗙殑騫繪暟 */<br />   private void md5Init()<br />   {<br />     count[0] = 0L;<br />     count[1] = 0L;<br />     ///* Load magic initialization constants.</div> <div>     state[0] = 0x67452301L;<br />     state[1] = 0xefcdab89L;<br />     state[2] = 0x98badcfeL;<br />     state[3] = 0x10325476L;</div> <div>    return;<br />   }</div> <div>  /* F, G, H ,I 鏄?涓熀鏈殑MD5鍑芥暟錛屽湪鍘熷鐨凪D5鐨凜瀹炵幇涓紝鐢變簬瀹冧滑鏄?br />            綆鍗曠殑浣嶈繍綆楋紝鍙兘鍑轟簬鏁堢巼鐨勮冭檻鎶婂畠浠疄鐜版垚浜嗗畯錛屽湪java涓紝鎴戜滑鎶婂畠浠?br />         銆銆瀹炵幇鎴愪簡private鏂規硶錛屽悕瀛椾繚鎸佷簡鍘熸潵C涓殑銆?*/</div> <div>  private long F(long x, long y, long z)<br />   {<br />     return (x & y) | ( (~x) & z);</div> <div>  }</div> <div>  private long G(long x, long y, long z)<br />   {<br />     return (x & z) | (y & (~z));</div> <div>  }</div> <div>  private long H(long x, long y, long z)<br />   {<br />     return x ^ y ^ z;<br />   }</div> <div>  private long I(long x, long y, long z)<br />   {<br />     return y ^ (x | (~z));<br />   }</div> <div>  /*<br />      FF,GG,HH鍜孖I灝嗚皟鐢‵,G,H,I榪涜榪戜竴姝ュ彉鎹?br />      FF, GG, HH, and II transformations for rounds 1, 2, 3, and 4.<br />      Rotation is separate from addition to prevent recomputation.<br />    */</div> <div>  private long FF(long a, long b, long c, long d, long x, long s,<br />                   long ac)<br />   {<br />     a += F(b, c, d) + x + ac;<br />     a = ( (int) a << s) | ( (int) a >>> (32 - s));<br />     a += b;<br />     return a;<br />   }</div> <div>  private long GG(long a, long b, long c, long d, long x, long s,<br />                   long ac)<br />   {<br />     a += G(b, c, d) + x + ac;<br />     a = ( (int) a << s) | ( (int) a >>> (32 - s));<br />     a += b;<br />     return a;<br />   }</div> <div>  private long HH(long a, long b, long c, long d, long x, long s,<br />                   long ac)<br />   {<br />     a += H(b, c, d) + x + ac;<br />     a = ( (int) a << s) | ( (int) a >>> (32 - s));<br />     a += b;<br />     return a;<br />   }</div> <div>  private long II(long a, long b, long c, long d, long x, long s,<br />                   long ac)<br />   {<br />     a += I(b, c, d) + x + ac;<br />     a = ( (int) a << s) | ( (int) a >>> (32 - s));<br />     a += b;<br />     return a;<br />   }</div> <div>  /*<br />    md5Update鏄疢D5鐨勪富璁$畻榪囩▼錛宨nbuf鏄鍙樻崲鐨勫瓧鑺備覆錛宨nputlen鏄暱搴︼紝榪欎釜<br />    鍑芥暟鐢眊etMD5ofStr璋冪敤錛岃皟鐢ㄤ箣鍓嶉渶瑕佽皟鐢╩d5init錛屽洜姝ゆ妸瀹冭璁℃垚private鐨?br />    */<br />   private void md5Update(byte[] inbuf, int inputLen)<br />   {</div> <div>    int i, index, partLen;<br />     byte[] block = new byte[64];<br />     index = (int) (count[0] >>> 3) & 0x3F;<br />     // /* Update number of bits */<br />     if ( (count[0] += (inputLen << 3)) < (inputLen << 3))<br />       count[1]++;<br />     count[1] += (inputLen >>> 29);</div> <div>    partLen = 64 - index;</div> <div>    // Transform as many times as possible.<br />     if (inputLen >= partLen)<br />     {<br />       md5Memcpy(buffer, inbuf, index, 0, partLen);<br />       md5Transform(buffer);</div> <div>      for (i = partLen; i + 63 < inputLen; i += 64)<br />       {</div> <div>        md5Memcpy(block, inbuf, 0, i, 64);<br />         md5Transform(block);<br />       }<br />       index = 0;</div> <div>    }<br />     else</div> <div>      i = 0;</div> <div>    ///* Buffer remaining input */<br />     md5Memcpy(buffer, inbuf, index, i, inputLen - i);</div> <div>  }</div> <div>  /*<br />     md5Final鏁寸悊鍜屽~鍐欒緭鍑虹粨鏋?br />    */<br />   private void md5Final()<br />   {<br />     byte[] bits = new byte[8];<br />     int index, padLen;</div> <div>    ///* Save number of bits */<br />     Encode(bits, count, 8);</div> <div>    ///* Pad out to 56 mod 64.<br />      index = (int) (count[0] >>> 3) & 0x3f;<br />     padLen = (index <<br />     md5Update(PADDING, padLen);</div> <div>    ///* Append length (before padding) */<br />     md5Update(bits, 8);</div> <div>    ///* Store state in digest */<br />     Encode(digest, state, 16);</div> <div>  }</div> <div>  /* md5Memcpy鏄竴涓唴閮ㄤ嬌鐢ㄧ殑byte鏁扮粍鐨勫潡鎷瘋礉鍑芥暟錛屼粠input鐨刬npos寮濮嬫妸len闀垮害鐨?br />    銆銆銆銆銆 瀛楄妭鎷瘋礉鍒皁utput鐨刼utpos浣嶇疆寮濮?br />    */</div> <div>  private void md5Memcpy(byte[] output, byte[] input,<br />                          int outpos, int inpos, int len)<br />   {<br />     int i;</div> <div>    for (i = 0; i < len; i++)<br />       output[outpos + i] = input[inpos + i];<br />   }</div> <div>  /*<br />      md5Transform鏄疢D5鏍稿績鍙樻崲紼嬪簭錛屾湁md5Update璋冪敤錛宐lock鏄垎鍧楃殑鍘熷瀛楄妭<br />    */<br />   private void md5Transform(byte block[])<br />   {<br />     long a = state[0], b = state[1], c = state[2], d = state[3];<br />     long[] x = new long[16];</div> <div>    Decode(x, block, 64);</div> <div>    /* Round 1 */<br />     a = FF(a, b, c, d, x[0], S11, 0xd76aa478L); /* 1 */<br />     d = FF(d, a, b, c, x[1], S12, 0xe8c7b756L); /* 2 */<br />     c = FF(c, d, a, b, x[2], S13, 0x242070dbL); /* 3 */<br />     b = FF(b, c, d, a, x[3], S14, 0xc1bdceeeL); /* 4 */<br />     a = FF(a, b, c, d, x[4], S11, 0xf57c0fafL); /* 5 */<br />     d = FF(d, a, b, c, x[5], S12, 0x4787c62aL); /* 6 */<br />     c = FF(c, d, a, b, x[6], S13, 0xa8304613L); /* 7 */<br />     b = FF(b, c, d, a, x[7], S14, 0xfd469501L); /* 8 */<br />     a = FF(a, b, c, d, x[8], S11, 0x698098d8L); /* 9 */<br />     d = FF(d, a, b, c, x[9], S12, 0x8b44f7afL); /* 10 */<br />     c = FF(c, d, a, b, x[10], S13, 0xffff5bb1L); /* 11 */<br />     b = FF(b, c, d, a, x[11], S14, 0x895cd7beL); /* 12 */<br />     a = FF(a, b, c, d, x[12], S11, 0x6b901122L); /* 13 */<br />     d = FF(d, a, b, c, x[13], S12, 0xfd987193L); /* 14 */<br />     c = FF(c, d, a, b, x[14], S13, 0xa679438eL); /* 15 */<br />     b = FF(b, c, d, a, x[15], S14, 0x49b40821L); /* 16 */</div> <div>    /* Round 2 */<br />     a = GG(a, b, c, d, x[1], S21, 0xf61e2562L); /* 17 */<br />     d = GG(d, a, b, c, x[6], S22, 0xc040b340L); /* 18 */<br />     c = GG(c, d, a, b, x[11], S23, 0x265e5a51L); /* 19 */<br />     b = GG(b, c, d, a, x[0], S24, 0xe9b6c7aaL); /* 20 */<br />     a = GG(a, b, c, d, x[5], S21, 0xd62f105dL); /* 21 */<br />     d = GG(d, a, b, c, x[10], S22, 0x2441453L); /* 22 */<br />     c = GG(c, d, a, b, x[15], S23, 0xd8a1e681L); /* 23 */<br />     b = GG(b, c, d, a, x[4], S24, 0xe7d3fbc8L); /* 24 */<br />     a = GG(a, b, c, d, x[9], S21, 0x21e1cde6L); /* 25 */<br />     d = GG(d, a, b, c, x[14], S22, 0xc33707d6L); /* 26 */<br />     c = GG(c, d, a, b, x[3], S23, 0xf4d50d87L); /* 27 */<br />     b = GG(b, c, d, a, x[8], S24, 0x455a14edL); /* 28 */<br />     a = GG(a, b, c, d, x[13], S21, 0xa9e3e905L); /* 29 */<br />     d = GG(d, a, b, c, x[2], S22, 0xfcefa3f8L); /* 30 */<br />     c = GG(c, d, a, b, x[7], S23, 0x676f02d9L); /* 31 */<br />     b = GG(b, c, d, a, x[12], S24, 0x8d2a4c8aL); /* 32 */</div> <div>    /* Round 3 */<br />     a = HH(a, b, c, d, x[5], S31, 0xfffa3942L); /* 33 */<br />     d = HH(d, a, b, c, x[8], S32, 0x8771f681L); /* 34 */<br />     c = HH(c, d, a, b, x[11], S33, 0x6d9d6122L); /* 35 */<br />     b = HH(b, c, d, a, x[14], S34, 0xfde5380cL); /* 36 */<br />     a = HH(a, b, c, d, x[1], S31, 0xa4beea44L); /* 37 */<br />     d = HH(d, a, b, c, x[4], S32, 0x4bdecfa9L); /* 38 */<br />     c = HH(c, d, a, b, x[7], S33, 0xf6bb4b60L); /* 39 */<br />     b = HH(b, c, d, a, x[10], S34, 0xbebfbc70L); /* 40 */<br />     a = HH(a, b, c, d, x[13], S31, 0x289b7ec6L); /* 41 */<br />     d = HH(d, a, b, c, x[0], S32, 0xeaa127faL); /* 42 */<br />     c = HH(c, d, a, b, x[3], S33, 0xd4ef3085L); /* 43 */<br />     b = HH(b, c, d, a, x[6], S34, 0x4881d05L); /* 44 */<br />     a = HH(a, b, c, d, x[9], S31, 0xd9d4d039L); /* 45 */<br />     d = HH(d, a, b, c, x[12], S32, 0xe6db99e5L); /* 46 */<br />     c = HH(c, d, a, b, x[15], S33, 0x1fa27cf8L); /* 47 */<br />     b = HH(b, c, d, a, x[2], S34, 0xc4ac5665L); /* 48 */</div> <div>    /* Round 4 */<br />     a = II(a, b, c, d, x[0], S41, 0xf4292244L); /* 49 */<br />     d = II(d, a, b, c, x[7], S42, 0x432aff97L); /* 50 */<br />     c = II(c, d, a, b, x[14], S43, 0xab9423a7L); /* 51 */<br />     b = II(b, c, d, a, x[5], S44, 0xfc93a039L); /* 52 */<br />     a = II(a, b, c, d, x[12], S41, 0x655b59c3L); /* 53 */<br />     d = II(d, a, b, c, x[3], S42, 0x8f0ccc92L); /* 54 */<br />     c = II(c, d, a, b, x[10], S43, 0xffeff47dL); /* 55 */<br />     b = II(b, c, d, a, x[1], S44, 0x85845dd1L); /* 56 */<br />     a = II(a, b, c, d, x[8], S41, 0x6fa87e4fL); /* 57 */<br />     d = II(d, a, b, c, x[15], S42, 0xfe2ce6e0L); /* 58 */<br />     c = II(c, d, a, b, x[6], S43, 0xa3014314L); /* 59 */<br />     b = II(b, c, d, a, x[13], S44, 0x4e0811a1L); /* 60 */<br />     a = II(a, b, c, d, x[4], S41, 0xf7537e82L); /* 61 */<br />     d = II(d, a, b, c, x[11], S42, 0xbd3af235L); /* 62 */<br />     c = II(c, d, a, b, x[2], S43, 0x2ad7d2bbL); /* 63 */<br />     b = II(b, c, d, a, x[9], S44, 0xeb86d391L); /* 64 */</div> <div>    state[0] += a;<br />     state[1] += b;<br />     state[2] += c;<br />     state[3] += d;</div> <div>  }</div> <div>  /*Encode鎶妉ong鏁扮粍鎸夐『搴忔媶鎴恇yte鏁扮粍錛屽洜涓簀ava鐨刲ong綾誨瀷鏄?4bit鐨勶紝<br />     鍙媶浣?2bit錛屼互閫傚簲鍘熷C瀹炵幇鐨勭敤閫?br />    */<br />   private void Encode(byte[] output, long[] input, int len)<br />   {<br />     int i, j;</div> <div>    for (i = 0, j = 0; j < len; i++, j += 4)<br />     {<br />       output[j] = (byte) (input[i] & 0xffL);<br />       output[j + 1] = (byte) ( (input[i] >>> 8) & 0xffL);<br />       output[j + 2] = (byte) ( (input[i] >>> 16) & 0xffL);<br />       output[j + 3] = (byte) ( (input[i] >>> 24) & 0xffL);<br />     }<br />   }</div> <div>  /*Decode鎶奲yte鏁扮粍鎸夐『搴忓悎鎴愭垚long鏁扮粍錛屽洜涓簀ava鐨刲ong綾誨瀷鏄?4bit鐨勶紝<br />     鍙悎鎴愪綆32bit錛岄珮32bit娓呴浂錛屼互閫傚簲鍘熷C瀹炵幇鐨勭敤閫?br />    */<br />   private void Decode(long[] output, byte[] input, int len)<br />   {<br />     int i, j;</div> <div>    for (i = 0, j = 0; j < len; i++, j += 4)<br />       output[i] = b2iu(input[j]) |<br />           (b2iu(input[j + 1]) << 8) |<br />           (b2iu(input[j + 2]) << 16) |<br />           (b2iu(input[j + 3]) << 24);</div> <div>    return;<br />   }</div> <div>  /*<br />     b2iu鏄垜鍐欑殑涓涓妸byte鎸夌収涓嶈冭檻姝h礋鍙風殑鍘熷垯鐨勶紓鍗囦綅錛傜▼搴忥紝鍥犱負java娌℃湁unsigned榪愮畻<br />    */<br />   public static long b2iu(byte b)<br />   {<br />     return b < 0 ? b &<br />   }</div> <div>  /*byteHEX()錛岀敤鏉ユ妸涓涓猙yte綾誨瀷鐨勬暟杞崲鎴愬崄鍏繘鍒剁殑ASCII琛ㄧず錛?br />     銆鍥犱負java涓殑byte鐨則oString鏃犳硶瀹炵幇榪欎竴鐐癸紝鎴戜滑鍙堟病鏈塁璇█涓殑<br />     sprintf(outbuf,"%02X",ib)<br />    */<br />   public static String byteHEX(byte ib)<br />   {<br />     char[] Digit =<br />         {<br />         '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',<br />         'A', 'B', 'C', 'D', 'E', 'F'};<br />     char[] ob = new char[2];<br />     ob[0] = Digit[ (ib >>> 4) & 0X0F];<br />     ob[1] = Digit[ib & 0X0F];<br />     String s = new String(ob);<br />     return s;<br />   }</div> <div>  /**<br />    * getMD5ofBye<br />    *<br />    * @param inbuf byte[]<br />    * @return byte[]<br />    */<br />   public byte[] getMD5ofBye(byte[] inbuf)<br />   {<br />     md5Init();<br />     md5Update(inbuf, inbuf.length);<br />     md5Final();<br />     digestHexStr = "";    </div> <div>   for (int i = 0; i < 16; i++)<br />     {<br />       digestHexStr += byteHEX(digest[i]);    </div> <div>    }<br />     return digestHexStr.getBytes();</div> <div>  }<br /> }</div> <div> </div> <div>娉細濡傛灉鏈変漢浣跨敤榪囪繖涓増鏈殑MD5綆楁硶錛屼細鍙戠幇鍜宑鐨勮繑鍥炲間笉涓鏍鳳紝鏄洜涓篶榪斿洖鐨勬槸涓涓猚har*鐨勬寚閽堬紝鑰宩ava騫舵病鏈夋寚閽堬紝鍜宑紼嬪簭鍦ㄥ唴瀛樹腑鐨勫兼槑鏄懼涓嶄笂錛屽嵆浣挎妸鏈鍚庝竴涓柟娉昰etMD5ofBye鐨勮繑鍥炲兼敼鎴恈har[]榪樻槸杈句笉鍒扮洰鐨勶紝鑰屼笖浣犱細鐪嬪埌c鍐呭瓨涓繑鍥炲肩殑涓涓瓧鑺傛槸java鍐呭瓨涓繑鍥炲肩殑涓や釜瀛楄妭鍚堝湪涓璧風殑鍊鹼紝涓句釜渚嬪瓙錛氭瘮濡傝c涓殑榪斿洖鍊兼槸char a[0] ='0x12',鑰宩ava涓繑鍥炲煎垯鏄痗har b[0] = '0x01',b[1] = '0x02'銆傝鎬庝箞鏀瑰彉榪欑鍦ㄥ唴瀛樹腑榪斿洖鍊間笉鍚岀殑鎯呭喌錛熶綘鍙互鎶奲yteHEX鏂規硶瀹屽叏娉ㄩ噴鎺夛紝鎹㈡垚涓嬮潰榪欎釜鏂規硶錛?/div> <div>public static byte byteHEX(byte ib)<br />   {<br />         return ib;<br />   }</div> <div>騫朵笖鎶奼etMD5ofBye鏂規硶紼嶄綔淇敼錛屽嵆鏀規垚錛?br /> public byte[] getMD5ofBye(byte[] inbuf)<br />   {<br />     md5Init();<br />     md5Update(inbuf, inbuf.length);<br />     md5Final();<br />     byte digestHexStr;</div> <div>    byte b[] = new byte[16];//澶у皬鏍規嵁闇瑕佽嚜宸卞畾錛?br />     for (int i = 0; i < 16; i++)<br />     {<br />       digestHexStr += byteHEX(digest[i]);</div> <div>      b[i] = digestHexStr <br />     }<br />     return b;</div> <div>  }<br /> </div> <div> <div>緇忚繃榪欐牱鐨勫鐞嗗悗錛宩ava鐗堟湰鐨凪D5綆楁硶灝卞拰c鐗堟湰鐨凪D5綆楁硶鍦ㄨ繑鍥炲間笂瀹屽叏涓鑷翠簡銆?/div> </div> </div> <img src ="http://www.aygfsteel.com/hllwuxin/aggbug/146571.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/hllwuxin/" target="_blank">鍎泤錛つ涢牻寤?/a> 2007-09-19 18:56 <a href="http://www.aygfsteel.com/hllwuxin/archive/2007/09/19/146571.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">高密市</a>| <a href="http://" target="_blank">甘孜</a>| <a href="http://" target="_blank">洪雅县</a>| <a href="http://" target="_blank">深泽县</a>| <a href="http://" target="_blank">青川县</a>| <a href="http://" target="_blank">夏津县</a>| <a href="http://" target="_blank">全州县</a>| <a href="http://" target="_blank">江油市</a>| <a href="http://" target="_blank">台南县</a>| <a href="http://" target="_blank">囊谦县</a>| <a href="http://" target="_blank">阿克苏市</a>| <a href="http://" target="_blank">陆河县</a>| <a href="http://" target="_blank">周口市</a>| <a href="http://" target="_blank">安图县</a>| <a href="http://" target="_blank">安平县</a>| <a href="http://" target="_blank">饶河县</a>| <a href="http://" target="_blank">南部县</a>| <a href="http://" target="_blank">四平市</a>| <a href="http://" target="_blank">北碚区</a>| <a href="http://" target="_blank">娄烦县</a>| <a href="http://" target="_blank">鄂州市</a>| <a href="http://" target="_blank">高邑县</a>| <a href="http://" target="_blank">句容市</a>| <a href="http://" target="_blank">乌鲁木齐市</a>| <a href="http://" target="_blank">论坛</a>| <a href="http://" target="_blank">枣庄市</a>| <a href="http://" target="_blank">龙陵县</a>| <a href="http://" target="_blank">石柱</a>| <a href="http://" target="_blank">秦皇岛市</a>| <a href="http://" target="_blank">鄂尔多斯市</a>| <a href="http://" target="_blank">白朗县</a>| <a href="http://" target="_blank">嘉义市</a>| <a href="http://" target="_blank">晋州市</a>| <a href="http://" target="_blank">定州市</a>| <a href="http://" target="_blank">买车</a>| <a href="http://" target="_blank">新龙县</a>| <a href="http://" target="_blank">漳平市</a>| <a href="http://" target="_blank">西青区</a>| <a href="http://" target="_blank">定边县</a>| <a href="http://" target="_blank">江永县</a>| <a href="http://" target="_blank">芦溪县</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>