Google has released Keyzcar [1], an open source cryptographic toolkit
designed to make it easier and safer for developers to use
cryptography in their applications. Keyczar supports authentication
and encryption with both symmetric and asymmetric keys.

By now there are Java and Python implementations (C++ coming soon).


[1] http://www.keyczar.org/