Hi. I want to solve a problem regarding data integrity:
First, my system shall create hashsum’s of the logged data files (e.g. from MappData) and save them to the file device (in a separate file). Then the user could download this data and proof the integrity of the log-files by calculating the hashsum’s himself and comparing them.
I want to extend this by encrypting the hashsum’s so that even the user cannot manipulate the log-data afterwards without invalidating them. Of course an asymmetric cryptosystem (like PGP) is needed to do that (otherwise the user could re-create matching hashsum’s). The secret key would be stored on the plc and will be hidden from the user. The public key has to be used to decrypt the saved hashsum’s and to proof them.
Now: is there an algorithm/mechanism for x20 systems to store and use private keys with an asymmetric crypto system?