Libgcrypt is a general-purpose cryptographic library that was originally based on code from GnuPG. It provides functions for all cryptographic building blocks, including symmetric cipher algorithms, modes, hash algorithms, MACs, public key algorithms, large integer functions, random numbers, and supporting functions. Libgcrypt works on most POSIX systems and many pre-POSIX systems and can also be built using a cross-compiler system for Microsoft Windows. Due to former U.S. export restrictions on cryptographic software, it is not distributed via the standard GNU archives but from the European-based GnuPG server. The current stable version is 1.10.2, and all versions of Libgcrypt since 1.2 are API and ABI compatible. The development takes place in a Git repo, and Libgcrypt is distributed under the terms of the GNU Lesser General Public License (LGPLv2.1+) and the GNU General Public License (GPLv2+).
don't have tea/gui yet? download here
Copy the tea one-liner above into your terminal to install libgcrypt. tea will interpret the documentation and take care of any dependencies.