You are not logged in.
Pages: 1
Does the SynLog allow to encrypt the text written to the log file + log viewer that read that logs? I don't want to allow competitors to analyze my app logs to prevent from stealing my algorithm/ideas or see my app errors. I tried to find the "crypt" word in the SynLog.pas file but unsuccessful.
Offline
Great! I'll be very grateful. Actually I'm encrypting the text with salt = line number to make the log lines harder to decrypt for all those who would like to find any similar actions. I mean, if you encrypt the following lines:
Log.txt
202-01-01 12:12:12 Ping
202-01-01 12:12:12 Ping
202-01-01 12:12:12 Ping
202-01-01 12:12:13 Ping -> time change
the log with encrypted lines above can look like that:
8f1befe8
8f1befe8
8f1befe8
e54993b2 -> time change
So, someone can see that I'm doing the same operation in interval, this is an information that I want to hide from competitors. So I've added the salt = line number that generates:
8f1befe8
e54993b2
68eb0414
c8eb0112
I know that this is a very simple method of salting but for novice hacker can be impulse to stop trying to reverse engineer my log or guess my internal processes.
Of course, adding the extra milliseconds to the date and encrypting entire line implicate that encrypted text won't be the same for each line.
If you just implement an encrypted logs mechanism I would handle salting myself.
Last edited by radexpol (2020-07-23 10:38:52)
Offline
Pages: 1