Libmcrypt, Mcrypt's companion, is a library of code which contains the actual encryption functions and provides an easy method for use.