See hildstrom/mmhashchainsigs on GitHub.
mmhashchainsigs is an rsyslog module that protects log data with hash chains and signatures, written in C. It can handle hundreds of thousands of log messages per second.