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

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

?? md5.java

?? 用于數據庫數據潛移
?? JAVA
字號:
/* Copyright (c) 2001-2004, The HSQL Development Group * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this * list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * * Neither the name of the HSQL Development Group nor the names of its * contributors may be used to endorse or promote products derived from this * software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL HSQL DEVELOPMENT GROUP, HSQLDB.ORG,  * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */package org.hsqldb.lib;import java.io.UnsupportedEncodingException;import java.security.MessageDigest;import java.security.NoSuchAlgorithmException;// boucherb@users 20030705 - patch 1.7.2 - renamed methods to allow sp/sf calls// under HSQLDB's current inability to resolve method name overloads./** * Provides a static utility interface to an MD5 digest algorithm * obtained through the java.security.MessageDigest spi. <p> * * Database end-users may wish to access the services of this class * to provide, for instance, application user lookup tables with * one-way password encryption.  For example: <p> * * <pre> * -- DDL * CREATE TABLE USERS(UID INTEGER IDENTITY, UNAME VARCHAR, UPASS VARCHAR, UNIQUE(UNAME)) * CREATE ALIAS MD5 FOR "org.hsqldb.lib.MD5.encodeString" * * -- DML & DQL * INSERT INTO USERS(UNAME, UPASS) VALUES('joe', MD5('passwd')) * UPDATE USERS SET UPASS = MD5('newpasswd') WHERE UNAME = 'joe' AND UPASS = MD5('oldpasswd') * SELECT UID FROM USERS WHERE UNAME = 'joe' AND UPASS = MD5('logonpasswd') * </pre> * * <b>NOTE:</b> <p> * * Although it is possible that a particular JVM / application installation may * encounter NoSuchAlgorithmException when attempting to get a jce MD5 message * digest generator, the likelyhood is very small for almost all JDK/JRE 1.1 * and later  JVM implementations, as the Sun java.security package has come, * by default, with a jce MD5 message digest generator since JDK 1.1 was * released.  The HSLQLDB project could have provided an MD5 implementation to * guarantee presence, but this class is much more lightweight and still allows * clients to install / use  custom implementations through the * java.security.MessageDigest spi, for instance if there is no service * provided by default under the target JVM of choice or if a client has * developed / provides, say, a faster MD5 message digest implementation. * In short, this class is a convenience that allows HSQLDB SQL Function and * Stored Procedure style access to any underlying MD5 message digest algorithm * obtained via the java.security.MessageDigest spi * * @author boucherb@users.sourceforge.net * @version 1.7.2 * @since 1.7.2 */public final class MD5 {    /**     * The jce MD5 message digest generator.     */    private static MessageDigest md5;    /**     * Retrieves a hexidecimal character sequence representing the MD5     * digest of the specified character sequence, using the specified     * encoding to first convert the character sequence into a byte sequence.     * If the specified encoding is null, then ISO-8859-1 is assumed     *     * @param string the string to encode.     * @param encoding the encoding used to convert the string into the     *      byte sequence to submit for MD5 digest     * @return a hexidecimal character sequence representing the MD5     *      digest of the specified string     * @throws HsqlUnsupportedOperationException if an MD5 digest     *      algorithm is not available through the     *      java.security.MessageDigest spi or the requested     *      encoding is not available     */    public static final String encodeString(String string,            String encoding) throws RuntimeException {        return StringConverter.byteToHex(digestString(string, encoding));    }    /**     * Retrieves a byte sequence representing the MD5 digest of the     * specified character sequence, using the specified encoding to     * first convert the character sequence into a byte sequence.     * If the specified encoding is null, then ISO-8859-1 is     * assumed.     *     * @param string the string to digest.     * @param encoding the character encoding.     * @return the digest as an array of 16 bytes.     * @throws HsqlUnsupportedOperationException if an MD5 digest     *      algorithm is not available through the     *      java.security.MessageDigest spi or the requested     *      encoding is not available     */    public static byte[] digestString(String string,                                      String encoding)                                      throws RuntimeException {        byte[] data;        if (encoding == null) {            encoding = "ISO-8859-1";        }        try {            data = string.getBytes(encoding);        } catch (UnsupportedEncodingException x) {            throw new RuntimeException(x.toString());        }        return digestBytes(data);    }    /**     * Retrieves a byte sequence representing the MD5 digest of the     * specified byte sequence.     *     * @param data the data to digest.     * @return the MD5 digest as an array of 16 bytes.     * @throws HsqlUnsupportedOperationException if an MD5 digest     *       algorithm is not available through the     *       java.security.MessageDigest spi     */    public static final byte[] digestBytes(byte[] data)    throws RuntimeException {        synchronized (MD5.class) {            if (md5 == null) {                try {                    md5 = MessageDigest.getInstance("MD5");                } catch (NoSuchAlgorithmException e) {                    throw new RuntimeException(e.toString());                }            }            return md5.digest(data);        }    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆中文一区二区| 亚洲成人你懂的| 亚洲成年人影院| 国产一区二区精品久久91| 在线看一区二区| 久久久高清一区二区三区| 亚洲bdsm女犯bdsm网站| 成人网页在线观看| 精品理论电影在线观看| 亚洲一区二区精品视频| 亚洲激情中文1区| 久久免费电影网| 午夜精品久久久久影视| 色久优优欧美色久优优| 国产色一区二区| 日本不卡123| 久久影院午夜论| 91丨porny丨国产| 亚洲一区二区四区蜜桃| 精品国产伦一区二区三区观看体验 | 欧美一区二区三区思思人| 国产精品自产自拍| 欧美日韩成人综合| 亚洲日本乱码在线观看| 国产成人免费视频网站高清观看视频 | 日韩欧美在线一区二区三区| 一区二区三区日韩在线观看| 国产激情一区二区三区| 亚洲精品一区二区精华| 久久国产免费看| 欧美精品一区二区高清在线观看| 亚洲成人免费电影| 欧美性感一类影片在线播放| 亚洲三级小视频| 91日韩精品一区| 一色屋精品亚洲香蕉网站| 国产精品888| 久久免费电影网| 国产a区久久久| 国产精品美女久久久久aⅴ| 丰满少妇久久久久久久| 中文字幕+乱码+中文字幕一区| 成人免费视频免费观看| 国产精品美女久久久久av爽李琼 | 久久综合久久久久88| 蜜臀av一区二区在线免费观看| 欧美精品久久天天躁| 亚洲成人免费av| 欧美电视剧免费全集观看| 精品一区二区三区欧美| 久久精品一二三| 波多野结衣精品在线| 一区二区三区中文在线观看| 欧美少妇bbb| 日本aⅴ亚洲精品中文乱码| 26uuu国产电影一区二区| 国产毛片精品一区| 成人欧美一区二区三区1314| 欧洲av在线精品| 麻豆精品在线看| 中文字幕成人在线观看| 欧美伊人久久久久久久久影院| 日韩综合一区二区| 国产亚洲欧洲997久久综合 | 欧美日韩久久不卡| 狠狠色丁香久久婷婷综合_中| 久久精品在线观看| 欧美日韩一级二级三级| 国产传媒一区在线| 亚洲免费在线视频| 日韩一级片网站| 99re热视频精品| 男女性色大片免费观看一区二区 | 国产a视频精品免费观看| 亚洲激情六月丁香| 久久亚洲春色中文字幕久久久| 99久久婷婷国产| 麻豆精品新av中文字幕| 亚洲美女屁股眼交| 精品99久久久久久| 欧美制服丝袜第一页| 国产精品夜夜嗨| 亚洲国产精品久久不卡毛片| 中文字幕乱码日本亚洲一区二区| 欧美日韩国产另类一区| 成人免费不卡视频| 美女国产一区二区三区| 亚洲免费观看高清完整版在线观看| 日韩亚洲国产中文字幕欧美| 色999日韩国产欧美一区二区| 国产一区二区在线观看免费| 性感美女极品91精品| 国产精品丝袜一区| 久久香蕉国产线看观看99| 欧美亚洲另类激情小说| 国产成人日日夜夜| 日韩在线a电影| 亚洲国产美女搞黄色| 亚洲视频小说图片| 中文字幕第一区第二区| 久久久亚洲国产美女国产盗摄 | 欧美日韩国产片| 99在线精品一区二区三区| 国产成人亚洲综合a∨猫咪| 日本中文字幕一区二区视频| 亚洲超碰精品一区二区| 亚洲一区二区三区激情| 亚洲男帅同性gay1069| 中文字幕制服丝袜一区二区三区| 久久精品亚洲国产奇米99| 日韩精品中文字幕在线一区| 欧美午夜不卡视频| 首页欧美精品中文字幕| 99国产精品久久久久久久久久| 亚洲777理论| 精品国产一区二区三区av性色 | 欧美三级欧美一级| 亚洲图片自拍偷拍| 日韩欧美综合在线| 成人高清在线视频| 亚洲一区免费视频| 日本精品裸体写真集在线观看| 国产成人在线电影| 久久久综合激的五月天| 在线中文字幕一区| 91麻豆123| 一本大道久久精品懂色aⅴ| 午夜精品久久久久久久99樱桃| 亚洲欧洲日产国码二区| 国产精品第四页| 国产精品高潮久久久久无| 国产精品乱人伦一区二区| 久久午夜色播影院免费高清| 国产女人18毛片水真多成人如厕 | 久久国产生活片100| 亚洲国产va精品久久久不卡综合| 亚洲美女免费视频| 亚洲欧美日韩系列| 日日摸夜夜添夜夜添国产精品 | 国产欧美一区视频| 久久久精品国产免大香伊 | 国内精品不卡在线| 国产一二三精品| 国产精品影视在线观看| 色综合久久久久综合| 色综合色综合色综合| 欧美三级蜜桃2在线观看| 精品视频资源站| 91精品国产综合久久福利 | 欧美丰满一区二区免费视频| 欧美美女一区二区三区| 欧美二区三区91| 日韩欧美视频在线| 欧美精品一区二区三| 亚洲特黄一级片| 天天综合色天天综合色h| 韩国一区二区视频| 成人h版在线观看| 91小视频免费观看| 精品美女一区二区三区| 国产精品美女久久久久久久网站| 一区二区三区在线播放| 蜜乳av一区二区| 九九视频精品免费| 欧美少妇bbb| www国产精品av| 亚洲色图一区二区| 蜜桃视频第一区免费观看| 精彩视频一区二区| 欧美裸体bbwbbwbbw| 国产欧美久久久精品影院| 一区二区三区高清| 狠狠色丁香久久婷婷综| 99热这里都是精品| 67194成人在线观看| 国产精品美女久久久久久久久 | 欧美韩日一区二区三区四区| 亚洲国产精品影院| 国产毛片精品国产一区二区三区| 欧美亚洲高清一区| 久久久久久久久久久久久久久99| 一区二区三区精密机械公司| 国产成人在线视频网站| 欧美人与性动xxxx| 国产精品国产a| 亚洲最新视频在线观看| 成人动漫一区二区在线| 日韩精品专区在线影院观看| 日韩电影免费在线看| 成人国产亚洲欧美成人综合网| 日韩三级.com| 亚洲伦理在线免费看| 666欧美在线视频| 精品一区二区三区在线播放视频| 欧美日韩亚洲综合| 亚洲午夜国产一区99re久久| 激情国产一区二区| 欧美精品一区二区三区在线| 99久久精品99国产精品| 日本一区二区三区四区在线视频|