Many minor improvements
Generally tried to make the code better and more readably by
doing following things:
* Removed pointless null declaration
* Added/adjusted lots of comments (no German anymore)
* Renamed some variables/methods for better readability
* Reordered some methods for better readability
* Removed eclipse string annotations ($NON-NLS$)
* Moved some methods to ECDHUtil
Moved animation class and adjusted it
The animation used to be an inner class. Moved it to a separate
file and made it a little bit more clear (comments to English
and better variable names).
Also annotated, that it does not work on Linux currently
Removed old command structure and added buttons
Previously you could save the result by clicking on the top
right drop down menu. This was really hidden, a normal user
would never find that I guess.
Removed it and replaced it by normal buttons.
The reset button was moved to the usual plugin.xml structure
Added actual texts to info on the right - adjusted sizes
Info texts now get displayed in the right info text field instead
of the messageboxes. These will also be removed in future commits.
Adjusted control flow
Previously you would have to click every button on the left side extra,
which would actually nothing in some cases. Buttons should behave more
intuitive now: They automatically become green when an action is finished.
The last Button "Generate common key" now functions as short way to calculate
both keys.
Text overhaul for ECDH plugin
Text in Public parameters group is now displayed nicer
Made changes necessary and also added a Util class with
string/other useful operations so it doesn't clutter up
the rest.
Layout should change according to text field size
Public Parameter Wizard:
* Changed font to monospaced with JFaceResource for certain
labels and texts
* Added layouting and wrapping for long strings
* Added spacing between long hex-strings for readability
* Increased maximum size a little so all fits
Reworked the PublicParameterWizard
Changes:
* Fixed a bug where you could not select another Standard than
ANSI X9.62 for large F(p) curves
* Made various combo boxes read only which should do not change
* Tried to fix the button switching state machine. The code was
very entangled and you could quickly end in an error prone
state where some parameters were wrong or missing.
* Made a new "Generator" layout for large curves. There you
only have one generator so the random generator button does
not make any sense. Was removed and the combo box changed to
simple text
* F(2^m) now initializes with a valid curve
* Set a minimum size on the window (600, 640)
* Tried to make the code more clean and readable including more
comments
TODO/Known Bugs:
* Text sometimes too large for the environment
* The large generator group still has the wrong description
* The hex strings are ugly (should be terminal font and all
caps)
* Entwined UI and Elliptic Curve logic code. Should generally be
more cleaned up and simpliefied and removed from redundancies.
Major changes overview:
For further details you can read the commit messages:
commit b9adf94c4dc24fb74dd8a6b27eb9df84ddfa0f54 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Wed Sep 25 00:07:57 2019 +0200
commit 86fb5bbb300d09b325c3c5dd7fb13882ceb1d053 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Tue Sep 24 18:08:51 2019 +0200
commit c85e69dc9ff6195aba41372b48546354b55aa278 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Tue Sep 24 17:52:17 2019 +0200
commit 11c7f7a1b4b0c525775e120bb7899ca8635f067c Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Tue Sep 24 17:05:29 2019 +0200
commit a606cd6b66dc01c84ccce5fd52d1b43565246574 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Thu Sep 19 23:15:51 2019 +0200
commit 3b766163b1adf5ce505e1efdda7071d543cc48a9 Author: Michael Altenhuber michael@altenhuber.net Date: Wed Sep 11 22:10:57 2019 +0200
commit f3fc882cc2ef0ab0c824b0d5a0845beae8123007 Author: Michael Altenhuber michael@altenhuber.net Date: Mon Sep 9 21:51:08 2019 +0200
commit ecb4beb48f4705c9bfd69951a634d211c5b00e3a Author: Michael Altenhuber michael@altenhuber.net Date: Mon Sep 9 21:23:43 2019 +0200
commit 7aeb942a5414fdfb66e61c1458e94efa02aba373 Author: Michael Altenhuber michael@altenhuber.net Date: Wed Sep 4 23:44:20 2019 +0200
commit e3fcbf6f500112574fb4de125fed3daa51904391 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Wed Aug 28 19:38:26 2019 +0200
commit eec0217304136bb9e3835e018b6bf7c72b1dc133 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Tue Aug 27 20:40:26 2019 +0200
commit e8cbde067a078540fa6355c8dbe4e6f54685dd57 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Tue Jun 18 14:53:57 2019 +0200
commit 499e6b758da5541506c394eecbfd70c061d2d12c Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Sat May 25 12:36:35 2019 +0200
commit 6e110259332f396f8bdac0d24eafe0eabd3f841c Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Wed May 15 10:23:50 2019 +0200
commit 13638e612389ac312e0f2b54dc84be3d4d358e60 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Wed May 15 10:21:36 2019 +0200
commit 6500a9589a9f341cb966486f887292f7f7030e43 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Tue Apr 30 17:50:23 2019 +0200
commit 3e9852b80d6721c212087eaab2dc1fcf16e801b8 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Tue Apr 30 17:28:55 2019 +0200
commit 2c65905b74b87e951c64e08a9b47776eeed5ce05 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Tue Apr 30 17:13:50 2019 +0200
commit 644ccee39bef1742964cef4c663fbcdf39a3b0a9 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Tue Apr 30 14:46:51 2019 +0200
commit 348069b1122dcce60565617177cb889bda2f48b1 Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Mon Apr 8 22:14:24 2019 +0200
commit 9140896a213f61adea9d0054fca835fccfa79a8c Author: Michael Altenhuber michael.altenhuber@students.fh-hagenberg.at Date: Tue Mar 19 21:41:02 2019 +0100