The OpenPGP SDK project provides an open source library, written in C, which implements the OpenPGP specification. WWW: http://openpgp.nominet.org.uk/