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

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

?? biginteger.java

?? 手機上進行RSA加密的算法
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
package rsa;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2003</p> * <p>Company: </p> * @author not attributable * @version 1.0 */import java.io.PrintStream;/** * A class implementing arbitrary length integers. * <p>Copyright (C) 1995, 1996 Systemics Ltd (http://www.systemics.com/) * All rights reserved. */public class BigInteger extends BigNum{        public static final BigInteger zero = new BigInteger();        public static final BigInteger one = new BigInteger( 1 );        static        {                zero.zero();        }        public BigInteger()        {                super();        }        public BigInteger( int from )        {                super();                assign( from );        }        public BigInteger( BigInteger from )        {                super();                copy( this, from );        }        public BigInteger( String hexString )        {                super();                fromString( hexString );        }        public BigInteger( byte buffer[] )        {                super();                fromByteArray( buffer );        }        public int bitLength() { return bitLength(this); }        public Object        clone()        {                return new BigInteger( this );        }        public void        copy( Object src )        {                copy( this, (BigInteger)src );        }        public BigInteger        assign( BigInteger n )        {                copy( this, n );                return this;        }        public BigInteger        assign( int n )        {                assign( this, n );                return this;        }        public void        fromString(String inHex)        {                int len=inHex.length();                if ( len == 0 )                {                        zero( this );                        return;                }                int pos =0;                byte buffer[] = new byte [( ( len + 1 ) / 2 )];                if ( ( len % 2 ) == 1 )                {                        buffer[0]=(byte)asciiToHex(inHex.charAt(0));                        pos=1;                        len--;                }                for(int ptr = pos; len > 0; len -= 2 )                        buffer[pos++] = (byte)(                                        ( asciiToHex( inHex.charAt( ptr++ ) ) << 4 ) |                                        ( asciiToHex( inHex.charAt( ptr++ ) ) )                                        );                fromBinary( buffer );        }        public String        toString()        {                byte buffer[] = toByteArray();                StringBuffer returnBuffer = new StringBuffer();                int pos = 0, len = buffer.length;                // remove leading 0's.                while ( ( pos < len ) && ( buffer[pos] == 0 ) )                        pos++;                if ( ( pos < len ) && ( ( ( buffer[pos] >>> 4 ) & 0x0F ) == 0 ) )                {                        returnBuffer.append(  hexToAscii( buffer[0] & 0x0F ) );                        pos++;                }                for (; pos<len; pos++)                        returnBuffer.append( hexToAscii( ( buffer[pos] >>> 4 ) & 0x0F ) )                                                .append( hexToAscii( buffer[pos] & 0x0F ) );                if ( returnBuffer.length() > 0 )                        return returnBuffer.toString();                return "0";        } //       protected void //       finalize() //       {   //             super.finalize(); //       }        public BigInteger        modExp(BigInteger power, BigInteger modulo)        {                modExp( this, this, power, modulo );                return this;        }        public BigInteger        inverseModN( BigInteger a, BigInteger n )        {                inverseModN( this, a, n );                return this;        }        public BigInteger        mod( BigInteger a, BigInteger b )        {                mod( this, a, b );                return this;        }        public BigInteger        mul( BigInteger a, BigInteger b )        {                mul( this, a, b );                return this;        }        public BigInteger        div( BigInteger a, BigInteger b )        {                div( this, a, b );                return this;        }        public BigInteger        add( BigInteger a, BigInteger b )        {                add( this, a, b );                return this;        }        public BigInteger        add( int a )        {                add( this, a );                return this;        }        public BigInteger        sub( BigInteger a, BigInteger b )        {                sub( this, a, b );                return this;        }        public BigInteger        gcd( BigNum a, BigNum b )        {                gcd( this, a, b );                return this;        }        public int        cmp( BigInteger a )        {                return cmp( this, a );        }    public boolean    equals( Object o )    {        if (!(o instanceof BigInteger)) return false;        return (cmp( (BigInteger) o ) == 0);    }    public BigInteger        inc()        {                inc(this);                return this;        }        public BigInteger        dec()        {                dec(this);                return this;        }        public BigInteger        shiftLeft(int n)        {                shiftLeft(this, this, (short)n);                return this;        }        public BigInteger        shiftRight(int n)        {                shiftRight(this, this, (short)n);                return this;        }        public static BigInteger        zero()        {                BigInteger r = new BigInteger();                zero( r );                return r;        }        /**         * An internal function to create a buffer big enough in which         * to store a number.         * @param bitLen The number of <b>bits</b> in the number.         * @return a buffer in which to store a number.         */        protected static final byte[]        newBuffer( int bitLen )        {                return new byte[( bitLen + 7 ) / 8];        }        /**         * Convert a number into a byte array         * @return a byte array         */        public byte[]        toByteArray()        {                byte buffer[] = newBuffer( bitLength() );                intoBinary( buffer );                return buffer;        }        public void        fromByteArray( byte buf[] )        {                fromBinary( buf );        }        private static final int        asciiToHex(char c)        {                if ( ( c >= 'a' ) && ( c <= 'f' ) )                        return ( c - 'a' + 10 );                if ( ( c >= 'A' ) && ( c <= 'F' ) )                        return ( c - 'A' + 10 );                if ( ( c >= '0' ) && ( c <= '9' ) )                        return ( c - '0' );                throw new MathError("ascii to hex failed");        }        private static char        hexToAscii(int h)        {                if ( ( h >= 10 ) && ( h <= 15 ) )                        return (char)( 'A' + ( h - 10 ) );                if ( ( h >= 0 ) && ( h <= 9 ) )                        return (char)( '0' + h );                throw new MathError("hex to ascii failed");        }        //        //	Test code        //        public static void        main(String argv[])        {                try {                        self_test(System.out, argv);                }                catch(Throwable t)                {                        t.printStackTrace();

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产jizzjizz一区二区| 欧美国产激情一区二区三区蜜月 | 不卡的电影网站| 欧美日本韩国一区| 国产精品日韩成人| 六月丁香婷婷久久| 欧美色倩网站大全免费| 国产精品久久久久久久久果冻传媒| 久久国产免费看| 欧美三片在线视频观看| 中文一区二区完整视频在线观看| 免费观看日韩电影| 欧美日韩国产影片| 亚洲欧美日韩人成在线播放| 国内不卡的二区三区中文字幕| 欧美日韩国产精品自在自线| 亚洲色图视频网站| 懂色av一区二区夜夜嗨| 久久综合九色综合97_久久久| 日韩激情在线观看| 欧美日韩小视频| 亚洲最新视频在线观看| 99精品视频在线观看| 日韩av电影天堂| 久久青草欧美一区二区三区| 水蜜桃久久夜色精品一区的特点| 99re热视频这里只精品| 欧美高清在线一区二区| 国精产品一区一区三区mba视频| 91精品国产欧美日韩| 亚洲国产精品嫩草影院| 欧美三级在线视频| 亚洲影院理伦片| 日本高清成人免费播放| 亚洲色图在线视频| 91在线小视频| 亚洲人成精品久久久久久| zzijzzij亚洲日本少妇熟睡| 中文在线免费一区三区高中清不卡| 国产一区二区三区视频在线播放| 欧美一级精品大片| 蜜臀av性久久久久蜜臀aⅴ| 日韩一区二区三区在线视频| 日韩成人精品视频| 日韩欧美国产精品一区| 久久99国产精品尤物| 精品久久久久香蕉网| 加勒比av一区二区| 国产亚洲精品超碰| 成人午夜视频在线观看| 中文字幕永久在线不卡| 91麻豆免费在线观看| 亚洲激情校园春色| 欧美日韩一区国产| 秋霞电影一区二区| 2019国产精品| 成人动漫一区二区在线| 亚洲精品自拍动漫在线| 欧美三级韩国三级日本三斤| 日日夜夜免费精品视频| 精品久久99ma| 成人精品国产福利| 亚洲一区二区三区美女| 4438x亚洲最大成人网| 精品一区中文字幕| 国产女人水真多18毛片18精品视频| 不卡高清视频专区| 亚洲成精国产精品女| 欧美电影精品一区二区| 国产 欧美在线| 一区二区三区四区在线免费观看| 欧美精品欧美精品系列| 国模少妇一区二区三区| 综合久久国产九一剧情麻豆| 欧美视频三区在线播放| 另类人妖一区二区av| 欧美激情资源网| 色综合咪咪久久| 午夜精品一区二区三区电影天堂| 日韩欧美国产系列| 99久久久国产精品免费蜜臀| 亚洲天堂久久久久久久| 7777精品久久久大香线蕉| 国产乱码精品1区2区3区| 中文字幕一区在线| 6080日韩午夜伦伦午夜伦| 国产黄人亚洲片| 亚洲黄色录像片| 精品国产露脸精彩对白| 91麻豆精品在线观看| 日日夜夜精品免费视频| 欧美日免费三级在线| 久久99精品国产| 一区二区免费视频| 精品久久人人做人人爰| 在线欧美小视频| 国产在线麻豆精品观看| 一区二区三区欧美久久| 欧美精品一区二区三区久久久 | 日韩国产在线观看一区| 国产女人18毛片水真多成人如厕| aaa欧美大片| 日韩黄色免费电影| 亚洲欧美在线另类| 欧美成人一级视频| 91老师片黄在线观看| 国内精品伊人久久久久av影院| 亚洲精品欧美二区三区中文字幕| 精品国产91乱码一区二区三区| 色妞www精品视频| 国产精品一区二区免费不卡| 亚洲夂夂婷婷色拍ww47| 欧美极品xxx| 欧美大片一区二区| 欧美三级午夜理伦三级中视频| 国产成人综合亚洲91猫咪| 爽好多水快深点欧美视频| 亚洲人亚洲人成电影网站色| 欧美mv日韩mv| 欧美精品v国产精品v日韩精品| 不卡一区二区中文字幕| 国产一区二区不卡在线| 日韩电影一区二区三区四区| 亚洲精品成人在线| 中文一区一区三区高中清不卡| 精品噜噜噜噜久久久久久久久试看 | 精品免费国产二区三区 | av一区二区不卡| 狠狠狠色丁香婷婷综合久久五月| 亚洲第一av色| 亚洲欧美日韩精品久久久久| 亚洲国产电影在线观看| 欧美va亚洲va香蕉在线| 欧美精品九九99久久| 欧美中文字幕一区二区三区 | 日韩精品一区国产麻豆| 美美哒免费高清在线观看视频一区二区 | 97se狠狠狠综合亚洲狠狠| 精品久久国产字幕高潮| 三级不卡在线观看| 欧美精品一区二区三区蜜桃 | 欧美在线观看视频在线| 成人福利视频网站| 国产成人av电影| 狠狠色综合色综合网络| 老司机精品视频线观看86| 天天免费综合色| 亚洲chinese男男1069| 一区二区三区国产精品| 亚洲免费av在线| 亚洲精品国产a| 综合欧美一区二区三区| 中文字幕在线播放不卡一区| 国产精品家庭影院| 国产精品成人在线观看| 国产欧美日韩综合精品一区二区| 久久久99精品免费观看不卡| 久久影院视频免费| 日韩欧美专区在线| 日韩美女一区二区三区四区| 日韩美女在线视频| 精品久久久久久亚洲综合网| 久久老女人爱爱| 国产女人aaa级久久久级| 精品国内片67194| 国产亚洲精品资源在线26u| 欧美激情中文字幕| 亚洲视频在线观看三级| 一区二区三区四区在线| 亚洲国产一二三| 婷婷丁香激情综合| 美女爽到高潮91| 狠狠色狠狠色综合系列| 成人免费毛片app| 91色乱码一区二区三区| 91蝌蚪porny成人天涯| 欧美性色欧美a在线播放| 欧美日韩日日骚| 欧美一区二区三区系列电影| 精品精品欲导航| 国产精品素人一区二区| 亚洲精品v日韩精品| 爽好久久久欧美精品| 麻豆精品视频在线观看视频| 国产精品亚洲专一区二区三区| 成人黄色一级视频| 在线看不卡av| 日韩欧美在线1卡| 中文字幕 久热精品 视频在线| 亚洲四区在线观看| 三级久久三级久久| 国产成人无遮挡在线视频| 91免费版在线| 制服丝袜av成人在线看| 久久亚洲欧美国产精品乐播| 亚洲欧洲精品一区二区精品久久久 | 欧美午夜影院一区| 日韩精品中文字幕一区 | 欧美成人女星排名| 中文av一区二区|