Code example for Hashtable

    public static class DH 
        extends JDKKeyPairGenerator 
        private static Hashtable   params = new Hashtable();
        DHKeyGenerationParameters  param;
        DHBasicKeyPairGenerator    engine = new DHBasicKeyPairGenerator();
        int                        strength = 1024;
        int                        certainty = 20;
        SecureRandom               random = new SecureRandom();
        boolean                    initialised = false;
        public DH() 
        public void initialize( 
Connect your IDE to all the code out there  Get Codota for Java