A simple application which encrypts and signs messages for each user
export LD_LIBRARY_PATH=/app/vbuild/RHEL6-x86_64/gcc/6.4.0/lib:/app/vbuild/RHEL6-x86_64/gcc/6.4.0/lib64
Program writes logs in order to be able to demonstrate secure data transfer. Logs are written to the standard error to be able to easily separate from application's printouts. In order to redirect logs into a file start app as follows.
ssms 2>> log.txt
In a different console, the logs can be followed in real-time:
tail -f log.txt
The image below is taken from the Wikipedia page of PGP (Pretty Good Privacy)