Package org.bouncycastle.crypto.agreement.jpake

Examples of org.bouncycastle.crypto.agreement.jpake.JPAKEPrimeOrderGroup


         * Initialization
         *
         * Pick an appropriate prime order group to use throughout the exchange.
         * Note that both participants must use the same group.
         */
        JPAKEPrimeOrderGroup group = JPAKEPrimeOrderGroups.NIST_3072;

        BigInteger p = group.getP();
        BigInteger q = group.getQ();
        BigInteger g = group.getG();

        String alicePassword = "password";
        String bobPassword = "password";

        System.out.println("********* Initialization **********");
 
View Full Code Here

TOP

Related Classes of org.bouncycastle.crypto.agreement.jpake.JPAKEPrimeOrderGroup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.