Code example for DHParameterSpec

			(byte) 0x5E, (byte) 0xC3, (byte) 0x55, (byte) 0xE9, (byte) 0x2F, 
			(byte) 0x78, (byte) 0xC7 }; 
	private static final BigInteger MODULUS = new BigInteger(1,
	private static final BigInteger BASE = BigInteger.valueOf(2);
	private static final DHParameterSpec PARAMETER_SPEC = new DHParameterSpec(
	public FileTransferServer(String LocalIP, int Port, Handler uiHandler) {
		myIP = LocalIP;
		// fileSize = fileRecvSize; 
		// fileName = fileToReceive; 
		myPort = Port;
		mHandler = uiHandler;
	public void updateUI(String message) {
		// Update the UI with the new message 
		Message msg = new Message();
Stop searching for code, let great code find you!  Add Codota to your java IDE