GPW - Generate pronounceable passwords : Password « Security « Java

Java
1. 2D Graphics GUI
2. 3D
3. Advanced Graphics
4. Ant
5. Apache Common
6. Chart
7. Class
8. Collections Data Structure
9. Data Type
10. Database SQL JDBC
11. Design Pattern
12. Development Class
13. EJB3
14. Email
15. Event
16. File Input Output
17. Game
18. Generics
19. GWT
20. Hibernate
21. I18N
22. J2EE
23. J2ME
24. JDK 6
25. JNDI LDAP
26. JPA
27. JSP
28. JSTL
29. Language Basics
30. Network Protocol
31. PDF RTF
32. Reflection
33. Regular Expressions
34. Scripting
35. Security
36. Servlets
37. Spring
38. Swing Components
39. Swing JFC
40. SWT JFace Eclipse
41. Threads
42. Tiny Application
43. Velocity
44. Web Services SOA
45. XML
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java » Security » PasswordScreenshots 
GPW - Generate pronounceable passwords
  

// no Daisy license -- this line is here for the license check utility
/* GPW - Generate pronounceable passwords
   This program uses statistics on the frequency of three-letter sequences
   in English to generate passwords.  The statistics are
   generated from your dictionary by the program loadtris.

   See www.multicians.org/thvv/gpw.html for history and info.
   Tom Van Vleck

   THVV 06/01/94 Coded
   THVV 04/14/96 converted to Java
   THVV 07/30/97 fixed for Netscape 4.0
   */
// revised from outerj daisy

import java.util.Random;

public class Gpw {
    private static final GpwData data = new GpwData();
    private static final String alphabet = "abcdefghijklmnopqrstuvwxyz";

    public static String generate(int pwl) {
        int c1, c2, c3;
        long sum = 0;
        int nchar;
        long ranno;
        double pik;
        StringBuilder password;
        Random ran = new Random()// new random source seeded by clock

        password = new StringBuilder(pwl);
        pik = ran.nextDouble()// random number [0,1]
        ranno = (long) (pik * data.getSigma())// weight by sum of frequencies
        sum = 0;
        for (c1 = 0; c1 < 26; c1++) {
            for (c2 = 0; c2 < 26; c2++) {
                for (c3 = 0; c3 < 26; c3++) {
                    sum += data.get(c1, c2, c3);
                    if (sum > ranno) {
                        password.append(alphabet.charAt(c1));
                        password.append(alphabet.charAt(c2));
                        password.append(alphabet.charAt(c3));
                        c1 = 26// Found start. Break all 3 loops.
                        c2 = 26;
                        c3 = 26;
                    // if sum
                // for c3
            // for c2
        // for c1

        // Now do a random walk.
        nchar = 3;
        while (nchar < pwl) {
            c1 = alphabet.indexOf(password.charAt(nchar - 2));
            c2 = alphabet.indexOf(password.charAt(nchar - 1));
            sum = 0;
            for (c3 = 0; c3 < 26; c3++)
                sum += data.get(c1, c2, c3);
            if (sum == 0) {
                break// exit while loop
            }
            pik = ran.nextDouble();
            ranno = (long) (pik * sum);
            sum = 0;
            for (c3 = 0; c3 < 26; c3++) {
                sum += data.get(c1, c2, c3);
                if (sum > ranno) {
                    password.append(alphabet.charAt(c3));
                    c3 = 26// break for loop
                // if sum
            // for c3
            nchar++;
        // while nchar
        return password.toString();
    // generate()
// GpwWindow

class GpwData {
    static int tris[][][] null;
    static long sigma[] null// 125729

    GpwData() {
        int c1, c2, c3;
        tris = new int[26][26][26];
        sigma = new long[1];
        GpwDataInit1.fill(this)// Break into two classes for NS 4.0
        GpwDataInit2.fill(this)// .. its Java 1.1 barfs on methods > 65K
        for (c1 = 0; c1 < 26; c1++) {
            for (c2 = 0; c2 < 26; c2++) {
                for (c3 = 0; c3 < 26; c3++) {
                    sigma[0+= (longtris[c1][c2][c3];
                // for c3
            // for c2
        // for c1
    // constructor

    void set(int x1, int x2, int x3, int v) {
        tris[x1][x2][x3= v;
    // set()

    long get(int x1, int x2, int x3) {
        return (longtris[x1][x2][x3];
    // get()

    long getSigma() {
        return sigma[0];
    // get()

// GpwData

// 

class GpwDataInit1 {

    static final int[][][] tris1 = {{/* [13][26][26] */
/* A A */ {20300010000111000320000000},
/* A B */ {3725253800246103040249002424019000140},
/* A C */ {261642107019467017313513511332311423000450},
/* A D */ {3573431166387514116253443135201102590180},
/* A E */ {2021013000010023001260200000},
/* A F */ {50001450203025027005139100010},
/* A G */ {30101182042530007942513024302103030},
/* A H */ {12000200003005421300200100000},
/* A I */ {201026211002128713144020933023031000},
/* A J */ {40003000000000400000000000},
/* A K */ {11011981011500300510301203080},
/* A L */ {78203445124212451090282373135323071669292650262},
/* A M */ {705711983016800338243690314312020140},
/* A N */ {114615635910381461214125740896114112444329613289},
/* A O */ {00100000000310000322200000},
/* A P */ {29301591086250114113794092230800090},
/* A Q */ {000000000000000000001400000},
/* A R */ {1246410123311512475188361556834462569448189522511722},
/* A S */ {19332071018149022319219344015221112010171},
/* A T */ {503412863401443520514631440060131065715085},
/* A U */ {0523355538101333423041355256010701},
/* A V */ {3500110800049001001900000310060},
/* A W */ {3010043622201013415300635000020},
/* A X */ {300040002200100720011003030},
/* A Y */ {118151651220010741310357305000},
/* A Z */ {100012200010000007000022000411}},
/* B A */ {{01774111219480106877317011054559131121},
/* B B */ {700016000100024009002302000140},
/* B C */ {20000000000000100000000000},
/* B D */ {20002000200000300100300000},
/* B E */ {51114341811167901855482221993641045162},
/* B F */ {00000000000000000000200000},
/* B G */ {00000000000000000000000000},
/* B H */ {00001000000000500000100000},
/* B I */ {34822218391031507451642292259440003},
/* B J */ {00006000000000000000100000},
/* B K */ {00000000000000000000000000},
/* B L */ {57000519000350000047000003210030},
/* B M */ {00001000400000000000001000},
/* B N */ {10002000000000200000000000},
/* B O */ {62742132938114686358205515204661710190},
/* B P */ {00000000000000100100000000},
/* B Q */ {00000000000000000000000000},
/* B R */ {1100007700010000000780000028000100},
/* B S */ {00601600070000012000027200000},
/* B T */ {10003100000400100300000000},
/* B U */ {032116351401212527202011044454000315},
/* B V */ {00003000200000000000000000},
/* B W */ {00001000000000000000000000},
/* B X */ {00000000000000000000000000},
/* B Y */ {10003012000400030683002002},
/* B Z */ {00000000000000000000000000}},
/* C A */ {{147173313457131204012015911716015019201050},
/* C B */ {00001000000000000110000000},
/* C C */ {23000220051300130026007002700000},
/* C D */ {10101000000000800000000000},
/* C E */ {2364176612130050121097430766322104021},
/* C F */ {20000000000000000000000000},
/* C G */ {00001000200000200410100000},
/* C H */ {1651023176431141002620161021063810440130200},
/* C I */ {76158332416300003854550280293871680000},
/* C J */ {00000000000000000000000000},
/* C K */ {17162390417201145881290332660130220},
/* C L */ {9500084000500000054000003400030},
/* C M */ {10002000200000000000100000},
/* C N */ {20001000400000100000100000},
/* C O */ {3316402214101112911101218421245621293740862225442},
/* C P */ {10000001000000000000100000},
/* C Q */ {000000000000000000001300000},
/* C R */ {1010001120007500000880000141000250},
/* C S */ {00000000300001200012000000},
/* C T */ {440001220011300020940046004201030},
/* C U */ {31226660080010242109150725141100000},
/* C V */ {00000000000000000000000000},
/* C W */ {00000000000000000000000000},
/* C X */ {00000000000000000000000000},
/* C Y */ {512000010000302240329000000},
/* C Z */ {20003000000000000000000000}},
/* D A */ {{0716712136180354235901003164081330323},
/* D B */ {90007000300200800100800020},
/* D C */ {50000002000200300000200000},
/* D D */ {800030003190038004004001000160},
/* D E */ {343782141741114520886217014404183993962016612},
/* D F */ {60000000600200500200400000},
/* D G */ {400073000201110000100201030},
/* D H */ {800090004000001000000000000},
/* D I */ {1001010412332631110122226557150201385320311601},
/* D J */ {40002000000000400000700000},
/* D K */ {00001000200000000000000000},
/* D L */ {9000790001200000700000100030},
/* D M */ {13000300021000001100000100000},
/* D N */ {70009000300000100006000000},
/* D O */ {15211063201300303854177039111030554513},
/* D P */ {60001001300100700100000000},
/* D Q */ {00000000000000000000300000},
/* D R */ {7400047000530000080000002200080},
/* D S */ {103010009501310016800031102000},
/* D T */ {30001006100000200000000000},
/* D U */ {1075225340201331415511119158100001},
/* D V */ {300013000700000200000000000},
/* D W */ {19000100001900000800200000020},
/* D X */ {00000000000000000000000000},
/* D Y */ {421231201014412000081001000},
/* D Z */ {00000000000000000000100000}},
/* E A */ {{03934110012133005068387101311178011228197001},
/* E B */ {3250031000800600280032232900040},
/* E C */ {3309251003949047260059003522064200020},
/* E D */ {29711645522388008942420278427070130},
/* E E */ {241363161410019231366142043934146008},
/* E F */ {14012363300220015002400141133500050},
/* E G */ {481003611523800744260038001900040},
/* E H */ {14000240006000101800400400030},
/* E I */ {805132142011213759110102522070002},
/* E J */ {40004000000000300000300000},
/* E K */ {21016000400001100023000010},
/* E L */ {767657131197312504238221481504272617192070},
/* E M */ {8753108400010200388566400401901080},
/* E N */ {7817681591288351496224554573291276243310801116},
/* E O */ {008100671200231038016014644132201},
/* E P */ {261102700324500211035903510651302030},
/* E Q */ {000000000000000000005900000},
/* E R */ {2175766221904170132003144013411711342212316713523582211231},
/* E S */ {177746581325820361753452702222781821060},
/* E T */ {783190129409310501322501073511317040324},
/* E U */ {0476104000231740150462018021000},
/* E V */ {2900012100056000002600210220031},
/* E W */ {3343416205240033323203154001020},
/* E X */ {29043020001421000001578100721200120},
/* E Y */ {731425202001464410230014000},
/* E Z */ {10009000100000400100110023}},
/* F A */ {{110395211318023510270003613181002341},
/* F B */ {20001000100000000000000000},
/* F C */ {10100000000000000000000000},
/* F D */ {10000000000000200000000000},
/* F E */ {18524612020601256182001141715422010},
/* F F */ {1020051002450021401300970700080},
/* F G */ {10000002000000000000000000},
/* F H */ {20001000000000000000000000},
/* F I */ {995818427110000292530004041180201003},
/* F J */ {00000000000000100000000000},
/* F K */ {20000000000000000000000000},
/* F L */ {64000500002100000600000042000150},
/* F M */ {60100000000000000000000000},
/* F N */ {00000000300000000000000000},
/* F O */ {5182107060034183220165502512710},
/* F P */ {00100000000000000000000000},
/* F Q */ {00000000000000000000000000},
/* F R */ {6400066000350000035000001100030},
/* F S */ {10002002001000110002000000},
/* F T */ {111019003100010300190004080},
/* F U */ {0042109002011972400028316000002},
/* F V */ {00000000000000000000000000},
/* F W */ {10000000000000000000000000},
/* F X */ {00000000000000000000000000},
/* F Y */ {00000000000000000000000000},
/* F Z */ {00000000000000000000000000}},
/* G A */ {{0205113211313006824601506323681585025},
/* G B */ {40001000300000500000000000},
/* G C */ {00000000000000000000000000},
/* G D */ {20001000000000300000000000},
/* G E */ {23324121134003281413940962933114050},
/* G F */ {00001000300000000100300000},
/* G G */ {800020001600024003106400000120},
/* G H */ {1841112211201403121013153203010},
/* G I */ {2321166729000024710317101026193100001},
/* G J */ {10000000000000000000000000},
/* G K */ {00000000200000200000000000},
/* G L */ {49000730002500000380000013000170},
/* G M */ {2300012000100000000001300010},
/* G N */ {261002800020000002620001700000},
/* G O */ {64316611015002214920303412231675010},
/* G P */ {00001000300200200000000000},
/* G Q */ {00000000000000000000000000},
/* G R */ {21600097000430000050000001400030},
/* G S */ {220000022011002100018001000},
/* G T */ {200000083000001700100000000},
/* G U */ {2811049110410026152420014226000031},
/* G V */ {00000000000000000000000000},
/* G W */ {50002000000000100100000010},
/* G X */ {00000000000000000000000000},
/* G Y */ {10000000000073060500000000},
/* G Z */ {20000000000000000000000000}},
/* H A */ {{226152068223310119066171325014230492011200138},
/* H B */ {400030001002001200200400010},
/* H C */ {10000001000000200100000000},
/* H D */ {20000000100000200400000000},
/* H E */ {12352233375302700876586177131157421111148112},
/* H F */ {200000003000002000001000000},
/* H G */ {10001000000000300000000000},
/* H H */ {10002000000000100000000000},
/* H I */ {22225615236190011732079174103653393110006},
/* H J */ {00000000000000000000000000},
/* H K */ {00001000100000100000000000},
/* H L */ {5000110008000002200100100010},
/* H M */ {2100015000600010700020100000},
/* H N */ {30008000900001300040200000},
/* H O */ {13181325175130714101626244290130453381828062},
/* H P */ {30000000200100100000100000},
/* H Q */ {00000000000000000000100000},
/* H R */ {2000023000400010072000001300030},
/* H S */ {30100002100000300005000000},
/* H T */ {302121917500143410271103060},
/* H U */ {313763512100073726030372415000221},
/* H V */ {00000000100000000000000000},
/* H W */ {170005002500000900000000000},
/* H X */ {00000000000000000000000000},
/* H Y */ {511391030100139002509299000100},
/* H Z */ {00000000000000000000000000}},
/* I A */ {{0332081017510216920230030301391011201},
/* I B */ {11190038000220013112100020102300020},
/* I C */ {1610301130062113014215044600125534200070},
/* I D */ {51203123203004610518101011051107090},
/* I E */ {01176116111001524700106618507176002},
/* I F */ {700031450027009011000202410000710},
/* I G */ {4800041030147300041557201023311501022},
/* I H */ {10002000300000000000000000},
/* I I */ {10000000200000000000000000},
/* I J */ {30002000100000200000100000},
/* I K */ {600017000301000300001200010},
/* I L */ {6010636106657900132531402410110316650100},
/* I M */ {76260094101530013813013301801700020},
/* I N */ {212121431683968343526948439644703102139205354644151},
/* I O */ {2220101090000281260408025132413932301},
/* I P */ {20500262016161033601339051928501010},
/* I Q */ {000000000000000000003600000},
/* I R */ {4123924106790190112024124803911313580100},
/* I S */ {35571411042189561131293555333685271411080},
/* I T */ {136134118450771580146570103121057201014219},
/* I U */ {00100000000112110001190000000},
/* I V */ {5700029200037000001200100300020},
/* I W */ {30000000200000100000000000},
/* I X */ {10002110300000400009100010},
/* I Y */ {10000000000000000000000000},
/* I Z */ {9000130000000007000001100016}},
/* J A */ {{0232110332031817020520232112},
/* J B */ {00000000000000000000000000},
/* J C */ {00000000000000000000000000},
/* J D */ {00000000000000000000000000},
/* J E */ {4024113010202062001195006000},
/* J F */ {00000000000000000000000000},
/* J G */ {00000000000000000000000000},
/* J H */ {00000000000000000000000000},
/* J I */ {01000140000243000004010000},
/* J J */ {00000000000000000000000000},
/* J K */ {00000000000000000000000000},
/* J L */ {00000000000000000000000000},
/* J M */ {00000000000000000000000000},
/* J N */ {00000000000000000000000000},
/* J O */ {4260303121001605000101011342070},
/* J P */ {00000000000000000000000000},
/* J Q */ {00000000000000000000000000},
/* J R */ {00000000000000000000000000},
/* J S */ {00000000000000000000000000},
/* J T */ {00000000000000000000000000},
/* J U */ {33019008022285240101595010200},
/* J V */ {00000000000000000000000000},
/* J W */ {00000000000000000000000000},
/* J X */ {00000000000000000000000000},
/* J Y */ {00000000000000000000000000},
/* J Z */ {00000000000000000000000000}},
/* K A */ {{03061282111941323018417212152},
/* K B */ {300030002000001100100100000},
/* K C */ {20000001100000000100000000},
/* K D */ {30001000000000200100000000},
/* K E */ {430728332100205553305918562140270},
/* K F */ {10001000100000300000300000},
/* K G */ {00000000000000100100000000},
/* K H */ {90002000000010800101000000},
/* K I */ {523915110001101087240111513022000},
/* K J */ {20000000000000000000000000},
/* K K */ {10001000000001100000000000},
/* K L */ {15000460001300000300000100020},
/* K M */ {130002000000000000000000000},
/* K N */ {50001100010000002400000800000},
/* K O */ {11232402101317120621745200},
/* K P */ {20000000400400500000000000},
/* K Q */ {00000000000000000000000000},
/* K R */ {100003000300000600000500020},
/* K S */ {221010195010408300011401010},
/* K T */ {30000002300000500200000000},
/* K U */ {00020001000511080211001010},
/* K V */ {00000000000000000000000000},
/* K W */ {90004001200000700000000000},
/* K X */ {00000000000000000000000000},
/* K Y */ {20001001010400200210103000},
/* K Z */ {00000000000000000000000000}},
/* L A */ {{1468443324695201036424242311579221045212394211},
/* L B */ {12000170003002001300400400020},
/* L C */ {9000600124001101900201700020},
/* L D */ {23204140116001231310892305030},
/* L E */ {942575443613559261195512122220778411512291430751},
/* L F */ {910041111200100700812801000},
/* L G */ {16000120001000000600600000000},
/* L H */ {70006000200000700000000000},
/* L I */ {8233140264337730016114623850401359012712360307},
/* L J */ {00000000000000100000000000},
/* L K */ {70004003900201200030003080},
/* L L */ {12812241697241521007010020110241070530},
/* L M */ {27002110029000101300040300030},
/* L N */ {00002000000000100000300000},
/* L O */ {232365157413233202729695036117433536616801121},
/* L P */ {1100031021500010600314000010},
/* L Q */ {00000000000000000000000000},
/* L R */ {20001000000000500000200060},
/* L S */ {710016008230101020300123001020},
/* L T */ {22100230014340002023009308110185},
/* L U */ {51726183151305248683115502168560401301},
/* L V */ {1900146000900000300000000000},
/* L W */ {80002001200000900000000010},
/* L X */ {00000000000000000000000000},
/* L Y */ {24122223720131311211023115104000},
/* L Z */ {20001000000000000000000000}},
/* M A */ {{01059343057731325104632624014449192102311147},
/* M B */ {311014400032003101271032102100000},
/* M C */ {311762293509334210000000000},
/* M D */ {00002000000000100100000000},
/* M E */ {306845321414015119283104012539128029341},
/* M F */ {00003000300200400000400000},
/* M G */ {00000000000000000000000000},
/* M H */ {00003000000000400000100000},
/* M I */ {19093548219001276919440121961091000501},
/* M J */ {00000000000000000000000000},
/* M K */ {00000000000000000000000000},
/* M L */ {10003000600000300000000000},
/* M M */ {40000460003300000320000017000120},
/* M N */ {1200040001000000300000100010},
/* M O */ {41013284114311064710168163010740455681112},
/* M P */ {52300711126180471005000419431900070},
/* M Q */ {00000000000000000000200000},
/* M R */ {20000000000000300010000000},
/* M S */ {012151023010208200110100020},
/* M T */ {00001001000000100100000000},
/* M U */ {007116360202551129210185330000003},
/* M V */ {00002000000000000000000000},
/* M W */ {20002000100000100000000000},
/* M X */ {00000000000000000000000000},
/* M Y */ {001105010000102700774000000},
/* M Z */ {00000000000000000000000000}
}};

    static void fill(GpwData xx) {
        int c1, c2, c3;
        for (c1 = 0; c1 < 13; c1++) {
            for (c2 = 0; c2 < 26; c2++) {
                for (c3 = 0; c3 < 26; c3++) {
                    xx.set(c1, c2, c3, tris1[c1][c2][c3]);
                // for c3
            // for c2
        // for c1
    // fill()

// GpwDataInit1

// 

class GpwDataInit2 {

    static final int tris2[][][] {{/* [13][26][26] */
/* N A */ {224332363306200911529592310942815919105015},
/* N B */ {5010200001004007004101000000},
/* N C */ {250001900087510118006200160362100080},
/* N D */ {7511411626371021122102579246304370110200},
/* N E */ {3412361229171641400451620258688808432123718453},
/* N F */ {150003000038002300260010001900000},
/* N G */ {2280311460151803515020202424283802090},
/* N H */ {18000160006000001500000200030},
/* N I */ {909148143327354105122544262174879429110404},
/* N J */ {200030000000004000001300000},
/* N K */ {60102241110001220110223000090},
/* N L */ {90008000500000500000000010},
/* N M */ {80005000200000700000000000},
/* N N */ {39000740005201000230001014010250},
/* N O */ {418211044150110030603411110803247521824722},
/* N P */ {00001000100400600000200000},
/* N Q */ {000000000000000000002200000},
/* N R */ {30101000600000600000300060},
/* N S */ {2642327317312960581306025013793944050},
/* N T */ {143111175226420900133165101143032020211},
/* N U */ {126166113605011535963092531100001},
/* N V */ {150004300020000001700000400010},
/* N W */ {120003002400000600100000000},
/* N X */ {00000000200000000001000000},
/* N Y */ {531100010007140411131112100},
/* N Z */ {100005000500000100000001050}},
/* O A */ {{10203002520099818041511344110200},
/* O B */ {172422282013240190116005263831020},
/* O C */ {50028038004726012914003300250342000080},
/* O D */ {173315593134470113212230811021080350},
/* O E */ {061703016011031310110156270310},
/* O F */ {70004630010004106001015400010},
/* O G */ {34201441223151011311700801218010830},
/* O H */ {100008000600159500200000010},
/* O I */ {31125311200012705100011398000100},
/* O J */ {10005000100000200000000000},
/* O K */ {521048001701400310050301060},
/* O L */ {7146831118531210141241611326011824431620461},
/* O M */ {895010174501760026475612511404020220},
/* O N */ {12936482181528631241011734675161010714983891545},
/* O O */ {024920224100684242440190212168030002},
/* O P */ {28120710282321316114529017142110020190},
/* O Q */ {000000000000000000001400000},
/* O R */ {122263196138734214306188576615915846211114901161},
/* O S */ {31424010703181020279118422063127512080},
/* O T */ {457110642188630010314240177639030110},
/* O U */ {311171333621600321137011186445103070102},
/* O V */ {260001090002701000700000000020},
/* O W */ {181421348608801287831805132201041},
/* O X */ {2130511326000011000010110140},
/* O Y */ {151463100100301410121000000},
/* O Z */ {20009000000000700000000031}},
/* P A */ {{0838111018017025057312311765010118571102},
/* P B */ {30003000000100600210300000},
/* P C */ {00000001000000300000000000},
/* P D */ {10000000000000010200000000},
/* P E */ {51162341948031247210841002922250318224},
/* P F */ {00001000200100000100300000},
/* P G */ {20000000000000000200000000},
/* P H */ {56002880007600301970013135000790},
/* P I */ {21074253311900062737412112372757320202},
/* P J */ {10001000000000000000000000},
/* P K */ {00002000700000000000000000},
/* P L */ {1500001210005900000330000029000110},
/* P M */ {60002000000000200000100000},
/* P N */ {00004000000000300000000000},
/* P O */ {2119101227031012111145523170971265220313320},
/* P P */ {160004800120003210250032301000160},
/* P Q */ {00000000000000000000000000},
/* P R */ {3900016600010400000273000001200010},
/* P S */ {4130170052201120130000146010350},
/* P T */ {1601090031070000033003001900040},
/* P U */ {1848364010141822090391828000001},
/* P V */ {00100000000000000000000000},
/* P W */ {30000000200000100100000000},
/* P X */ {00000000000000000000000000},
/* P Y */ {120000301013001002003001000},
/* P Z */ {00000000000000000000000000}},
/* Q A */ {{00000000000000000001000000},
/* Q B */ {00000000000000000000000000},
/* Q C */ {00000000000000000000000000},
/* Q D */ {00000000000000000000000000},
/* Q E */ {00010000000000000000000000},
/* Q F */ {00000000000000000000000000},
/* Q G */ {00000000000000000000000000},
/* Q H */ {00000000000000000000000000},
/* Q I */ {00000000000000000000000000},
/* Q J */ {00000000000000000000000000},
/* Q K */ {00000000000000000000000000},
/* Q L */ {00000000000000000000000000},
/* Q M */ {00000000000000000000000000},
/* Q N */ {00000000000000000000000000},
/* Q O */ {00000000000000000000000000},
/* Q P */ {00000000000000000000000000},
/* Q Q */ {00000000000000000000000000},
/* Q R */ {00000000000000000000000000},
/* Q S */ {00000000000000000000000000},
/* Q T */ {00000000000000000000000000},
/* Q U */ {110000100000128000001300000000030},
/* Q V */ {00000000000000000000000000},
/* Q W */ {00000000000000000000000000},
/* Q X */ {00000000000000000000000000},
/* Q Y */ {00000000000000000000000000},
/* Q Z */ {00000000000000000000000000}},
/* R A */ {{072130958357314853101219531321191266627719452822813},
/* R B */ {320002600035004004400310900050},
/* R C */ {180204700862503110013001273800040},
/* R D */ {225102610442004021710594304070},
/* R E */ {16626106991145255202544606914320728112571191456347232},
/* R F */ {11000151009007008004001200000},
/* R G */ {260006300525001110180022013000110},
/* R H */ {11000190005000001800000200030},
/* R I */ {182542108779386510164965166826110151141294416110},
/* R J */ {00003000000000300000200000},
/* R K */ {4201190039006325301102001060},
/* R L */ {242042800036000001410021201080},
/* R M */ {9712029203650020039100111001050},
/* R N */ {535005040329010601610095702040},
/* R O */ {4640794018225643251076901678412721412774127426317153},
/* R P */ {10000210033100051025001288500010},
/* R Q */ {000000000000000000001000000},
/* R R */ {53000920058500000470000014000600},
/* R S */ {2622284101644042314312100321412020},
/* R T */ {3922061531019900117332001712127020247},
/* R U */ {52130311561201800104641128038322011101},
/* R V */ {31000370002800000500000100020},
/* R W */ {15000600012000001500000000000},
/* R X */ {00001000000000000000000000},
/* R Y */ {533530100001011412160094002000},
/* R Z */ {20001000100000100000000000}},
/* S A */ {{244231611021416178017891100361043221013570},
/* S B */ {900040002000006002001800030},
/* S C */ {810006501783700510880092004000030},
/* S D */ {110000000100000200200200000},
/* S E */ {3814471833783110163391015281483284112191515191},
/* S F */ {30007000500000700000600010},
/* S G */ {00002000200000200510200000},
/* S H */ {9791079300750141638120270120160170},
/* S I */ {55564480281538000250407814871799899760803},
/* S J */ {00000000000000000000100000},
/* S K */ {90002400035000203001005000230},
/* S L */ {4200035000290010029000001300020},
/* S M */ {5700030000310000025000001400020},
/* S N */ {210001200012000001900004600020},
/* S O */ {6426126104181067651908210710113463031},
/* S P */ {63100116004182002400690034101600030},
/* S Q */ {000000000000000000005200000},
/* S R */ {40001000100000200010300000},
/* S S */ {50320773041510051114220404170130190},
/* S T */ {25864129191112401025122205602553058270360},
/* S U */ {1438176711601100393537142071304000004},
/* S V */ {00005000600000010000000000},
/* S W */ {370003100028000002100200200000},
/* S X */ {00000000000000000000000000},
/* S Y */ {023211010001181930020951000001},
/* S Z */ {00000000100100000000000000}},
/* T A */ {{074448394586801513036181123012822185131191340},
/* T B */ {70004000400000600300300000},
/* T C */ {5000000112000200500100100010},
/* T D */ {00000000000000300100000000},
/* T E */ {5292937669176160265491851820058861239991610},
/* T F */ {600010005001006001002400000},
/* T G */ {40002000000000200100100000},
/* T H */ {686152748126201913390416182310160490},
/* T I */ {9935342163545340003677518341928918758891280002},
/* T J */ {00000000000000000000000000},
/* T K */ {20001000400000000000000010},
/* T L */ {18000102000500200300000200030},
/* T M */ {2500080003000001100000300000},
/* T N */ {30009000500000200004100000},
/* T O */ {563411872601409386523826560319191636336732},
/* T P */ {20001000100200300500000000},
/* T Q */ {00000000000000000000000000},
/* T R */ {31500098000246000002010000068010640},
/* T S */ {2221102034010130930008525030},
/* T T */ {4400015411253014500330010804100250},
/* T U */ {411494185401000193029131001593522000110},
/* T V */ {30000000200000000000000000},
/* T W */ {140001200123000001500000200100},
/* T X */ {00000000000000000000000000},
/* T Y */ {21200010100142003401430002100},
/* T Z */ {10005010200110110110000000}},
/* U A */ {{0472101514055122601048937024030},
/* U B */ {81801200021820235021010158720010},
/* U C */ {1001402300312905516007009147500020},
/* U D */ {17102467018039004008001100202071},
/* U E */ {6901554101021133110192215200036},
/* U F */ {100005800000110100003100000},
/* U G */ {1910021034803004226001101100000},
/* U H */ {30000000000001000000000000},
/* U I */ {321414601000032031180194464140203},
/* U J */ {10000000200000100000300000},
/* U K */ {100112000301000100200000000},
/* U L */ {1364111146147035010675223160124731631051},
/* U M */ {225231515013200228118481081620000},
/* U N */ {2167313125546255033421342021582102050},
/* U O */ {0001000030020302016352900020},
/* U P */ {4412311114100113108240131324202020},
/* U Q */ {00000000000000000000400000},
/* U R */ {752721171498601662111711552815151434391530281},
/* U S */ {3152921050153640173018121034115600040},
/* U T */ {45114169015577008334900137511102062},
/* U U */ {00000000000030000000000000},
/* U V */ {00008000500000000300000000},
/* U W */ {20001000000000000000000000},
/* U X */ {00004000200100100005400000},
/* U Y */ {10001000000200000000110000},
/* U Z */ {200040000000003000001000012}},
/* V A */ {{092081014281369257010311836500000},
/* V B */ {00000000000000000000000000},
/* V C */ {00000000000000000000000000},
/* V D */ {10000000000000000000000000},
/* V E */ {6254436450147412031027146240015100},
/* V F */ {00000000000000000000000000},
/* V G */ {00000000000000000000000000},
/* V H */ {00000000000000000000000000},
/* V I */ {3743323212802034304718001665305160201},
/* V J */ {00000000000000000000000000},
/* V K */ {00000001000000000000000000},
/* V L */ {20000000000000100000000000},
/* V M */ {00000000000000000000000000},
/* V N */ {00000000000000000000000000},
/* V O */ {002300030905482610010491013060},
/* V P */ {00000000000000000000000000},
/* V Q */ {00000000000000000000000000},
/* V R */ {00005000000000200000000000},
/* V S */ {00000000001000000000000000},
/* V T */ {00000000000000000000000000},
/* V U */ {000000000001300000220000000},
/* V V */ {00001000100000000000000010},
/* V W */ {00000000000000000000000000},
/* V X */ {00000000000000000000000000},
/* V Y */ {00000000100000000000001000},
/* V Z */ {00000000000000100000000000}},
/* W A */ {{14780312318085352004010027551914711},
/* W B */ {600070001000001000300100000},
/* W C */ {30000001000000100000100000},
/* W D */ {00005000100000400300100030},
/* W E */ {305193302119005101102036217020020},
/* W F */ {10000000300300400000300000},
/* W G */ {00000000200000000000000000},
/* W H */ {180004700052000001900000100010},
/* W I */ {001418551500004028302083847040102},
/* W J */ {00000000000000000000000000},
/* W K */ {00000000200001000000001010},
/* W L */ {30009000500000100011000030},
/* W M */ {80005000100000000000000000},
/* W N */ {011161123000000201104102030},
/* W O */ {0100310000310178541012111321000},
/* W P */ {10001000100100500000100000},
/* W Q */ {00000000000000000000000000},
/* W R */ {70001200025000001000000000060},
/* W S */ {01102001101220530114102010},
/* W T */ {10001003100000300000100000},
/* W U */ {00000001000111010200000000},
/* W V */ {00000000000000000000000000},
/* W W */ {10000000000000100000000000},
/* W X */ {00000000000000000000000000},
/* W Y */ {20005000000114100000000000},
/* W Z */ {00000000000000000000000010}},
/* X A */ {{00510130000466000036010000},
/* X B */ {00000000000000000000100000},
/* X C */ {300011003700700300500700000},
/* X D */ {00000000000000000000000000},
/* X E */ {00710020100269000611000010},
/* X F */ {00000000000000200000000000},
/* X G */ {00000000000100000000100000},
/* X H */ {70000000400000400000200000},
/* X I */ {8212842200002114800092011000},
/* X J */ {00000000000000000000000000},
/* X K */ {00000000000000000000000000},
/* X L */ {00002000000000000000000000},
/* X M */ {00000000000000000000000000},
/* X N */ {10000000000000000000000000},
/* X O */ {000100300001110010615000000},
/* X P */ {80002700050018001200700300000},
/* X Q */ {00000000000000000000100000},
/* X R */ {00000000000000000000000000},
/* X S */ {00001000000000000000000000},
/* X T */ {6100220017000007003100900010},
/* X U */ {41020000000300010600000000},
/* X V */ {00000000100000000000000000},
/* X W */ {00002000000000200000000000},
/* X X */ {00000000000000100000000000},
/* X Y */ {00000020000600000200000000},
/* X Z */ {00000000000000000000000000}},
/* Y A */ {{00550011002113291412013003000},
/* Y B */ {40047000200000900300300000},
/* Y C */ {400018003140019001200000000000},
/* Y D */ {4100120002000021003700000000},
/* Y E */ {11301111010013162101976011000},
/* Y F */ {10001000300200000000400000},
/* Y G */ {00012000200131800300100020},
/* Y H */ {000040000000001000000000010},
/* Y I */ {00011000000009020020000000},
/* Y J */ {10000000000000000000000000},
/* Y K */ {00003000010001000000000000},
/* Y L */ {1500022000130119001110020360000},
/* Y M */ {184102000050003711200000200010},
/* Y N */ {140113120312000031100006000210},
/* Y O */ {0022046000521180408451711001},
/* Y P */ {200024001750020221005716300010},
/* Y Q */ {00000000000000000000100000},
/* Y R */ {15002610021000022900201400010},
/* Y S */ {31301200138001204300639200000},
/* Y T */ {200016001610000001200002000010},
/* Y U */ {00300031002101010020000000},
/* Y V */ {10004000000000000000000000},
/* Y W */ {100103002400000500300000000},
/* Y X */ {00000000100000000000000000},
/* Y Y */ {00000000000000000000000000},
/* Y Z */ {20000000000000000000000010}},
/* Z A */ {{1320005110141110101900010001},
/* Z B */ {00000000000000000000000000},
/* Z C */ {00000000000000000000000000},
/* Z D */ {10000000000000000000000000},
/* Z E */ {5121100010170120001333101000},
/* Z F */ {00000000000000000000000000},
/* Z G */ {00001000000000000000000000},
/* Z H */ {00000000000000000000000000},
/* Z I */ {11207050000546110211100000},
/* Z J */ {00000000000000000000000000},
/* Z K */ {00000000000000000000000000},
/* Z L */ {000016000000000200000000020},
/* Z M */ {10000000000000000000000000},
/* Z N */ {00000000000000000000000000},
/* Z O */ {300220107000310520500110000},
/* Z P */ {10000000000000000000000000},
/* Z Q */ {00000000000000000000000000},
/* Z R */ {10000000000000100000000000},
/* Z S */ {00100000000000000000000000},
/* Z T */ {00002000000000000000000000},
/* Z U */ {00101000001000000400000000},
/* Z V */ {00001000000000100000000000},
/* Z W */ {00001000000000100000000000},
/* Z X */ {00000000000000000000000000},
/* Z Y */ {01000040000030000000000000},
/* Z Z */ {700010007001700200000001050}
}};

    static void fill(GpwData xx) {
        int c1, c2, c3;
        for (c1 = 0; c1 < 13; c1++) {
            for (c2 = 0; c2 < 26; c2++) {
                for (c3 = 0; c3 < 26; c3++) {
                    xx.set(c1 + 13, c2, c3, tris2[c1][c2][c3]);
                // for c3
            // for c2
        // for c1
    // fill()

// GpwDataInit2

   
    
  
Related examples in the same category
1. Cheap, lightweight, low-security password generatorCheap, lightweight, low-security password generator
2. Generate a random String suitable for use as a temporary password
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.