亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? kdf.java

?? linux下建立JAVA虛擬機的源碼KAFFE
?? JAVA
字號:
/* KDF.java --    Copyright (C) 2003, 2006 Free Software Foundation, Inc.This file is a part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or (atyour option) any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; if not, write to the Free SoftwareFoundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301USALinking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version.  */package gnu.javax.crypto.sasl.srp;import gnu.java.security.Registry;import gnu.java.security.prng.LimitReachedException;import gnu.java.security.util.PRNG;import gnu.javax.crypto.cipher.IBlockCipher;import gnu.javax.crypto.prng.UMacGenerator;import java.util.HashMap;/** * <p>The SASL-SRP KDF implementation, which is also used, depending on how it * was instantiated, as a secure Pseudo Random Number Generator.</p> */public class KDF{  // Constants and variables  // -------------------------------------------------------------------------  private static final int AES_BLOCK_SIZE = 16; // default block size for the AES  private static final int AES_KEY_SIZE = 16; // default key size for the AES  private static final byte[] buffer = new byte[1];  /** Our default source of randomness. */  private static final PRNG prng = PRNG.getInstance();  /** The shared secret K to use. */  //   private byte[] keyMaterial;  /** The underlying UMAC Generator instance. */  private UMacGenerator umac = null;  // Constructor(s)  // -------------------------------------------------------------------------  /**   * <p>Constructs an instance of the <code>KDF</code> initialised with the   * designated shared secret bytes.</p>   *   * @param keyMaterial the SASL SRP shared secret (K) bytes.   */  private KDF(final byte[] keyMaterial, final int ndx)  {    super();    //      if (ndx != 0) {    //         this.keyMaterial = (byte[]) keyMaterial.clone();    //      }    final HashMap map = new HashMap();    map.put(UMacGenerator.CIPHER, Registry.AES_CIPHER);    map.put(UMacGenerator.INDEX, new Integer(ndx));    map.put(IBlockCipher.CIPHER_BLOCK_SIZE, new Integer(AES_BLOCK_SIZE));    final byte[] key = new byte[AES_KEY_SIZE];    System.arraycopy(keyMaterial, 0, key, 0, AES_KEY_SIZE);    map.put(IBlockCipher.KEY_MATERIAL, key);    umac = new UMacGenerator();    umac.init(map);    //System.out.println("**** Initialised KDF with: "+gnu.crypto.util.Util.dumpString(key));  }  // Class methods  // -------------------------------------------------------------------------  /**   * <p>A Factory mehod that returns an instance of a <code>KDF</code> based on   * supplied seed data.</p>   *   * @param K the SASL SRP shared secret for a <code>KDF</code> to be used for   * <i>CALG</i> and <i>IALG</i> setup. <code>null</code> otherwise.   * @return an instance of a <code>KDF</code>.   */  static final KDF getInstance(final byte[] K)  {    int ndx = -1;    final byte[] keyMaterial;    if (K != null)      {        keyMaterial = K;        ndx = 0;      }    else      {        keyMaterial = new byte[AES_BLOCK_SIZE];        while (ndx < 1 || ndx > 255)          ndx = (byte) nextByte();      }    return new KDF(keyMaterial, ndx);  }  private static synchronized final int nextByte()  {    prng.nextBytes(buffer);    return (buffer[0] & 0xFF);  }  // Instance methods  // -------------------------------------------------------------------------  /**   * <p>Returns a designated number of bytes suitable for use in the SASL SRP   * mechanism.</p>   *   * @param length the number of bytes needed.   * @return a byte array containing the generated/selected bytes.   */  public synchronized byte[] derive(final int length)  {    final byte[] result = new byte[length];    //      if (keyMaterial == null || length > keyMaterial.length) {    try      {        umac.nextBytes(result, 0, length);      }    catch (IllegalStateException x)      { // should not happen        x.printStackTrace(System.err);      }    catch (LimitReachedException x)      { // idem        x.printStackTrace(System.err);      }    //      } else {    //         System.arraycopy(keyMaterial, 0, result, 0, length);    //      }    return result;  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产乱人伦偷精品视频不卡| 99精品久久只有精品| 欧美日韩成人综合天天影院| 亚洲欧美一区二区三区久本道91| 91首页免费视频| 亚洲综合色噜噜狠狠| 一本大道av一区二区在线播放| 一区二区三区资源| 欧美性做爰猛烈叫床潮| 婷婷夜色潮精品综合在线| 91精品婷婷国产综合久久| 毛片不卡一区二区| 国产日韩欧美综合一区| 91在线精品秘密一区二区| 一区二区激情视频| 欧美一区二区三区的| 激情文学综合丁香| 国产精品国产三级国产a| 91久久奴性调教| 日韩高清不卡一区二区三区| 精品电影一区二区| 91麻豆视频网站| 日韩综合一区二区| 国产片一区二区| 欧美性大战久久| 精品一区二区免费在线观看| 国产欧美一区二区三区网站 | 欧美日韩卡一卡二| 久久66热偷产精品| 自拍偷拍欧美精品| 日韩亚洲欧美在线观看| 成人妖精视频yjsp地址| 亚洲综合偷拍欧美一区色| 欧美一区二区黄| 成人精品国产一区二区4080| 午夜成人在线视频| 国产精品久久毛片av大全日韩| 欧美视频一区二区三区在线观看| 久久精品噜噜噜成人av农村| 最新国产精品久久精品| 日韩一区二区三区视频在线观看| aaa欧美大片| 久久99国产精品成人| 亚洲人成精品久久久久| 精品国偷自产国产一区| 欧美午夜免费电影| 成人app软件下载大全免费| 日韩va亚洲va欧美va久久| 国产精品毛片无遮挡高清| 日韩一二三区视频| 色狠狠色噜噜噜综合网| 国产福利一区二区| 久久成人18免费观看| 亚洲va欧美va国产va天堂影院| 中日韩av电影| 久久久久久久av麻豆果冻| 欧美高清精品3d| 色噜噜久久综合| 成人午夜av电影| 国产综合色在线| 免费在线观看视频一区| 亚洲午夜电影网| 亚洲色大成网站www久久九九| 日本一区二区三区在线不卡| 欧美成人video| 日韩欧美123| 91精品蜜臀在线一区尤物| 欧洲人成人精品| 97久久精品人人做人人爽50路| 国产成人自拍高清视频在线免费播放| 视频一区二区不卡| 香蕉加勒比综合久久| 亚洲综合在线免费观看| 亚洲日本在线观看| 亚洲猫色日本管| 自拍偷自拍亚洲精品播放| 国产精品久久夜| 成人免费视频在线观看| 国产精品免费视频一区| 国产精品久久影院| 亚洲欧洲精品天堂一级| 国产精品嫩草99a| 最新高清无码专区| 国产精品欧美一区喷水| 国产精品久久久久久福利一牛影视| 国产三区在线成人av| 国产精品麻豆网站| 亚洲啪啪综合av一区二区三区| 亚洲欧美偷拍三级| 亚洲成人777| 麻豆一区二区三区| 国产电影精品久久禁18| 不卡的电视剧免费网站有什么| 成人手机电影网| 91在线精品一区二区| 欧美日韩黄色影视| 日韩一级片在线观看| 欧美成人精品高清在线播放| 337p粉嫩大胆色噜噜噜噜亚洲| 久久夜色精品一区| 亚洲欧洲日韩av| 午夜精品在线视频一区| 久久精品国产一区二区三区免费看| 激情五月婷婷综合| 国产成人在线影院| 在线观看日韩电影| 日韩欧美中文字幕精品| 国产三级三级三级精品8ⅰ区| 国产精品免费看片| 亚洲高清免费视频| 国产精品亚洲成人| 色婷婷精品久久二区二区蜜臀av | 国产人成亚洲第一网站在线播放| 国产精品―色哟哟| 一区二区三区小说| 久久国产综合精品| 99久久精品免费观看| 欧美高清视频不卡网| 欧美国产精品专区| 日韩avvvv在线播放| 成人免费视频免费观看| 7878成人国产在线观看| 中文字幕av资源一区| 亚洲成人动漫av| 国产成a人亚洲| 欧美日本在线播放| 国产日韩欧美精品综合| 亚洲成在线观看| 国产盗摄一区二区三区| 欧美精选午夜久久久乱码6080| 国产日韩精品视频一区| 日韩—二三区免费观看av| 国产成人精品aa毛片| 欧美日韩极品在线观看一区| 欧美日本一区二区| 国产精品福利一区二区| 久久99久久久久| 91免费版在线| 久久久夜色精品亚洲| 日韩美女视频一区二区| 国产精品911| 欧美一区二区在线视频| 国产精品久久久久久久浪潮网站| 日韩二区三区四区| 色综合天天做天天爱| 国产午夜亚洲精品午夜鲁丝片| 亚洲在线免费播放| av男人天堂一区| 91精品国产91久久综合桃花| 亚洲精品国产精华液| 成人av免费在线播放| 91精品免费观看| 亚洲高清久久久| 91最新地址在线播放| 国产精品理论片在线观看| 蜜桃av一区二区在线观看| 欧美日韩国产在线播放网站| 色欲综合视频天天天| 国产精品久久毛片a| 国产69精品久久777的优势| 日韩欧美亚洲一区二区| 日本sm残虐另类| 欧美色涩在线第一页| 一区二区三区资源| 色婷婷精品久久二区二区蜜臂av | 一区二区三区在线看| 高清不卡一区二区| 久久久国际精品| 美腿丝袜亚洲一区| 日韩一级黄色大片| 亚洲成人av一区二区| 欧美精品一级二级三级| 欧美美女一区二区在线观看| 亚洲国产一区在线观看| 在线观看国产日韩| 亚洲主播在线播放| 欧美日韩精品一区视频| 亚洲影视在线播放| 5858s免费视频成人| 一区二区三区在线不卡| 色婷婷精品大视频在线蜜桃视频| 一区二区三区资源| 欧洲av一区二区嗯嗯嗯啊| 亚洲午夜日本在线观看| 欧美影院午夜播放| 美腿丝袜一区二区三区| 久久综合久久鬼色中文字| 久久99国产精品免费| 欧美激情一区在线观看| 国产成人福利片| 综合电影一区二区三区 | 色婷婷久久99综合精品jk白丝| 国产亚洲一本大道中文在线| 伦理电影国产精品| 久久久精品免费观看| 成人国产电影网| 亚洲视频在线一区| 7777精品久久久大香线蕉| 日本亚洲视频在线| 中文字幕+乱码+中文字幕一区|