Shouldn't the MCE provide you with such a utility? Provided you send PF3 the correct key it will work and it doesn't care whether that's from your keyboard or any VR program, the end result is the same.
I don't know if MCE does that, but another possibility would be to write a small program that registers the same hotkeys with FSUIPC and logs them, as FSUIPC passes the hotkeys to all programs.
Of course this would be overhead and would not help if other things as hotkey information (e.g. the context in which they have been pressed) is needed.
Dave, a suggestion: If the only purpose of the encryption is to prevent tampering with the log, maybe replace this by checksumming of the log, e.g.
AAAAAAAA the first line
BBBBBBBB another line
CCCCCCCC something else |
The first 8 characters would be the first 8 hex digits of a simple (i.e. not CPU intensive) checksum/hash algorithm, e.g. MD5 or something even more trivial. Doesn't have to be that secure, since you can change the secret with every updated version.
The hash would be calculated from the three concatenated strings "something secret", "hash of the previous line" (if available), and "content of the line".
Or just the last two if you use a HMAC algorithm, e.g. HMAC-MD5.
This way users can see the contents of the lines, but you can write a program to verify if the logs have been tampered with.
Since each line "signs" the hash of the previous line, you even know if somebody removed lines.
Since each line contains a hash to start from, you can even check only parts of a log, e.g. if only lines 400-450 have been pasted here.