jcryptool / crypto

JCrypTool Crypto Plug-ins
https://www.cryptool.org
Eclipse Public License 1.0
67 stars 37 forks source link

Improvements in Elliptic Curve Calculation Plugin #358

Closed grthor closed 3 years ago

grthor commented 3 years ago

More parameters from the GUI are written to the log.

Log content before change:

Kurve: y� = x� + 15
Punkt P = (-2.37|1.26)
Punkt Q = (-0.65|3.83)
Punkt R = P + Q = (5.24|-12.62)

Log Content after change:

Kurvenparameter: a = 0, b = 15
Kurve: y² = x³ + 15
Punkt P = (-2.22|1.99)
Punkt Q = (-0.92|3.76)
Punkt R = P + Q = (5.01|-11.86)

Depending on the curve type, the content of the log varies.

Log mechansim improved

The log mechanism had a bug that prevented changing the save location after changing the save type (editor/file).

The bug is now removed by making the storage type always "file". It is still possible to view the log in an editor. The editor now uses the file in which the log is written. A temporary file is no longer used.

All results are saved automatically to the file. The user no longer has to select that everything is saved.

GUI before changes: grafik

GUI after changes: grafik