Libmcrypt is a thread-safe library providing a uniform interface
to access several block and stream encryption algorithms.
Check the manual page for more information on libmcrypt.
