- Code: Select all
g++ -o tn_enc tn_enc.cpp -lssl
The input filename is hardcoded (test.mkd). If the input is encrypted, it will be decrypted. If the input is a plain text Trunk_Note, it will be encrypted.
Warning: The code is very elementary and does not check if the password is correct!
Use at your own risk!